[report-core] deprecate gnc:restore-report-by-guid

This commit is contained in:
Christopher Lam 2021-01-03 21:57:58 +08:00
parent 677b44c839
commit f3609c3e4e

View File

@ -385,6 +385,8 @@ not found.")))
(define (gnc:restore-report-by-guid id template-id template-name options)
(issue-deprecation-warning "gnc:restore-report-by-guid is now deprecated.
use gnc:restore-report-by-guid-with-custom-template instead.")
(if options
(let* ((r (make-report template-id id options #t #t #f #f ""))
(report-id (gnc-report-add r)))