[reports] remove deprecated owner-report creation functions

This commit is contained in:
Christopher Lam 2021-08-12 22:30:39 +08:00
parent eafc290034
commit 37895bfdad
2 changed files with 0 additions and 7 deletions

View File

@ -42,7 +42,6 @@
(export gnc:invoice-report-create)
(export gnc:payables-report-create)
(export gnc:receivables-report-create)
(export gnc:owner-report-create) ;deprecate
(export gnc:owner-report-create-with-enddate)
(let ((loc-spec (if (string-prefix? "de_DE" (gnc-locale-name)) 'de_DE 'us)))
@ -90,5 +89,4 @@
(define gnc:payables-report-create payables-report-create-internal)
(define gnc:receivables-report-create receivables-report-create-internal)
(define gnc:owner-report-create owner-report-create) ;deprecated
(define gnc:owner-report-create-with-enddate owner-report-create-with-enddate)

View File

@ -1240,10 +1240,6 @@ and do not match the transaction."))))))))
(guid (assv-ref guid-alist type)))
(owner-report-create-internal guid owner type enddate)))
(define (owner-report-create owner account)
(issue-deprecation-warning "owner-report-create is not used anymore. call owner-report-create-with-enddate instead")
(owner-report-create-with-enddate owner account #f))
(define (gnc:owner-report-create-internal
account split query journal? double? title debit-string credit-string)
@ -1256,5 +1252,4 @@ and do not match the transaction."))))))))
(gnc:register-report-hook ACCT-TYPE-RECEIVABLE #t gnc:owner-report-create-internal)
(gnc:register-report-hook ACCT-TYPE-PAYABLE #t gnc:owner-report-create-internal)
(export owner-report-create) ;deprecate
(export owner-report-create-with-enddate)