Bug 2505 - Add commented use warnings where missing in the installer/ directory
authorDonovan Jones <donovan@catalyst.net.nz>
Fri, 16 Apr 2010 03:47:30 +0000 (15:47 +1200)
committerChris Cormack <chrisc@catalyst.net.nz>
Wed, 21 Apr 2010 08:26:28 +0000 (20:26 +1200)
installer/data/mysql/atomicupdate/subscription_add_enddate.pl
installer/data/mysql/labels_upgrade.pl
installer/data/mysql/patroncards_upgrade.pl
installer/data/mysql/update22to30.pl

index 8f8c230..b8074b1 100755 (executable)
@@ -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");
index 4d2a56f..4fb7829 100755 (executable)
@@ -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;
index 5b13659..a9f4ce5 100755 (executable)
@@ -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;
index 435d767..cb4379b 100755 (executable)
@@ -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;