From b44f8e1a3194abf25900a40cf78891f2b0b5c61c Mon Sep 17 00:00:00 2001 From: Donovan Jones Date: Fri, 16 Apr 2010 15:47:30 +1200 Subject: [PATCH] Bug 2505 - Add commented use warnings where missing in the installer/ directory --- installer/data/mysql/atomicupdate/subscription_add_enddate.pl | 2 ++ installer/data/mysql/labels_upgrade.pl | 3 +++ installer/data/mysql/patroncards_upgrade.pl | 3 +++ installer/data/mysql/update22to30.pl | 1 + 4 files changed, 9 insertions(+) diff --git a/installer/data/mysql/atomicupdate/subscription_add_enddate.pl b/installer/data/mysql/atomicupdate/subscription_add_enddate.pl index 8f8c23038b..b8074b1dee 100755 --- a/installer/data/mysql/atomicupdate/subscription_add_enddate.pl +++ b/installer/data/mysql/atomicupdate/subscription_add_enddate.pl @@ -1,4 +1,6 @@ #!/usr/bin/perl +#use strict; +#use warnings; FIXME - Bug 2505 use C4::Context; my $dbh=C4::Context->dbh; $dbh->do("ALTER TABLE `subscription` ADD `enddate` date default NULL"); diff --git a/installer/data/mysql/labels_upgrade.pl b/installer/data/mysql/labels_upgrade.pl index 4d2a56feee..4fb7829434 100755 --- a/installer/data/mysql/labels_upgrade.pl +++ b/installer/data/mysql/labels_upgrade.pl @@ -17,6 +17,9 @@ # with Koha; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +#use strict; +#use warnings; FIXME - Bug 2505 + use C4::Context; my $sth = C4::Context->dbh; diff --git a/installer/data/mysql/patroncards_upgrade.pl b/installer/data/mysql/patroncards_upgrade.pl index 5b136590cc..a9f4ce5292 100755 --- a/installer/data/mysql/patroncards_upgrade.pl +++ b/installer/data/mysql/patroncards_upgrade.pl @@ -17,6 +17,9 @@ # with Koha; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +#use strict; +#use warnings; FIXME - Bug 2505 + use C4::Context; my $sth = C4::Context->dbh; diff --git a/installer/data/mysql/update22to30.pl b/installer/data/mysql/update22to30.pl index 435d767f86..cb4379b67b 100755 --- a/installer/data/mysql/update22to30.pl +++ b/installer/data/mysql/update22to30.pl @@ -12,6 +12,7 @@ # NOTE: If you do something more than once in here, make it table driven. use strict; +#use warnings; FIXME - Bug 2505 # CPAN modules use DBI; -- 2.39.5