From f1598406e5f9425198f4ec42a372752b9cccf31a Mon Sep 17 00:00:00 2001 From: Donovan Jones Date: Fri, 16 Apr 2010 14:47:08 +1200 Subject: [PATCH] Bug 2505 - Add commented use warnings where missing in the reports/ directory --- reports/acquisitions_stats.pl | 1 + reports/bor_issues_top.pl | 1 + reports/borrowers_stats.pl | 1 + reports/cat_issues_top.pl | 1 + reports/catalogue_stats.pl | 2 +- reports/guided_reports.pl | 2 +- reports/issues_avg_stats.pl | 1 + reports/issues_stats.pl | 1 + reports/manager.pl | 1 + reports/reports-home.pl | 1 + reports/reservereport.pl | 1 + reports/stats.print.pl | 1 + reports/stats.screen.pl | 1 + 13 files changed, 13 insertions(+), 2 deletions(-) diff --git a/reports/acquisitions_stats.pl b/reports/acquisitions_stats.pl index fe038be008..6c29e47802 100755 --- a/reports/acquisitions_stats.pl +++ b/reports/acquisitions_stats.pl @@ -21,6 +21,7 @@ # test comment use strict; +#use warnings; FIXME - Bug 2505 use C4::Auth; use CGI; use C4::Context; diff --git a/reports/bor_issues_top.pl b/reports/bor_issues_top.pl index 8cc13bec83..0290ab062a 100755 --- a/reports/bor_issues_top.pl +++ b/reports/bor_issues_top.pl @@ -18,6 +18,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. use strict; +#use warnings; FIXME - Bug 2505 use CGI; use C4::Auth; use C4::Output; diff --git a/reports/borrowers_stats.pl b/reports/borrowers_stats.pl index cec510d3e6..f44c20ede3 100755 --- a/reports/borrowers_stats.pl +++ b/reports/borrowers_stats.pl @@ -18,6 +18,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. use strict; +#use warnings; FIXME - Bug 2505 use CGI; use C4::Auth; use C4::Context; diff --git a/reports/cat_issues_top.pl b/reports/cat_issues_top.pl index 7f82c8495b..d7f2e443f4 100755 --- a/reports/cat_issues_top.pl +++ b/reports/cat_issues_top.pl @@ -19,6 +19,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. use strict; +#use warnings; FIXME - Bug 2505 use C4::Auth; use CGI; use C4::Context; diff --git a/reports/catalogue_stats.pl b/reports/catalogue_stats.pl index 6c368f0f78..5f865f308e 100755 --- a/reports/catalogue_stats.pl +++ b/reports/catalogue_stats.pl @@ -19,7 +19,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. use strict; -# use warnings; # FIXME +#use warnings; FIXME - Bug 2505 use C4::Auth; use CGI; use C4::Context; diff --git a/reports/guided_reports.pl b/reports/guided_reports.pl index 9c0998d76a..d519423275 100755 --- a/reports/guided_reports.pl +++ b/reports/guided_reports.pl @@ -18,7 +18,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. use strict; -# use warnings; # FIXME +#use warnings; FIXME - Bug 2505 use CGI; use Text::CSV; use C4::Reports::Guided; diff --git a/reports/issues_avg_stats.pl b/reports/issues_avg_stats.pl index fa35606dec..678495f72b 100755 --- a/reports/issues_avg_stats.pl +++ b/reports/issues_avg_stats.pl @@ -19,6 +19,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. use strict; +#use warnings; FIXME - Bug 2505 use C4::Auth; use CGI; use C4::Context; diff --git a/reports/issues_stats.pl b/reports/issues_stats.pl index 748105f4ff..d1c0a04213 100755 --- a/reports/issues_stats.pl +++ b/reports/issues_stats.pl @@ -19,6 +19,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. use strict; +#use warnings; FIXME - Bug 2505 use CGI; use Date::Manip; diff --git a/reports/manager.pl b/reports/manager.pl index 133c099d12..4ca5595f66 100755 --- a/reports/manager.pl +++ b/reports/manager.pl @@ -18,6 +18,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. use strict; +#use warnings; FIXME - Bug 2505 use CGI; use C4::Auth; use C4::Context; diff --git a/reports/reports-home.pl b/reports/reports-home.pl index 0b849e9aeb..8fc47cbe1c 100755 --- a/reports/reports-home.pl +++ b/reports/reports-home.pl @@ -17,6 +17,7 @@ # use strict; +#use warnings; FIXME - Bug 2505 use CGI; use C4::Auth; use C4::Output; diff --git a/reports/reservereport.pl b/reports/reservereport.pl index 4f8a427d44..67f384cc12 100755 --- a/reports/reservereport.pl +++ b/reports/reservereport.pl @@ -24,6 +24,7 @@ # eg: http://koha.rangitikei.katipo.co.nz/cgi-bin/koha/reports/reservereport.pl?branch=BL use strict; +#use warnings; FIXME - Bug 2505 use C4::Stats; use C4::Dates qw/format_date/; use CGI; diff --git a/reports/stats.print.pl b/reports/stats.print.pl index 1d89520fc0..066aafa4b6 100755 --- a/reports/stats.print.pl +++ b/reports/stats.print.pl @@ -1,6 +1,7 @@ #!/usr/bin/perl use strict; +#use warnings; FIXME - Bug 2505 use CGI; use C4::Output; diff --git a/reports/stats.screen.pl b/reports/stats.screen.pl index 862c2a232c..1d3eaef332 100755 --- a/reports/stats.screen.pl +++ b/reports/stats.screen.pl @@ -16,6 +16,7 @@ # Suite 330, Boston, MA 02111-1307 USA use strict; +#use warnings; FIXME - Bug 2505 use CGI; use C4::Output; use C4::Auth; -- 2.39.5