From 6d217a7bcfdc1ea4e7a6bdbb3a6a2be643ec76a4 Mon Sep 17 00:00:00 2001 From: Christopher Lam Date: Sat, 15 Aug 2020 18:33:47 +0800 Subject: [PATCH] [gnc-plugin-page-report] remove compatibility path --- gnucash/gnome/gnc-plugin-page-report.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/gnucash/gnome/gnc-plugin-page-report.c b/gnucash/gnome/gnc-plugin-page-report.c index 31fda934c6..8521df4a0b 100644 --- a/gnucash/gnome/gnc-plugin-page-report.c +++ b/gnucash/gnome/gnc-plugin-page-report.c @@ -1689,17 +1689,6 @@ gnc_plugin_page_report_export_cb( GtkAction *action, GncPluginPageReport *report gnc_error_dialog (parent, "error during export: %s", str); g_free (str); } - else - { - /* compatibility path -- old report which does not effect - export-string and export-error during export code- call - with filepath */ - SCM file = scm_from_locale_string (filepath); - scm_c_eval_string ("(issue-deprecation-warning \"Old report \ -with export-thunk encountered. Please upgrade report to ignore filename \ -and sets html-document export-string and/or export-error instead.\")"); - scm_call_3 (export_thunk, priv->cur_report, type, file); - } result = TRUE; } else