projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b44f8e1
)
Bug 2505 - Add commented use warnings where missing in the tools/ directory
author
Donovan Jones
<donovan@catalyst.net.nz>
Fri, 16 Apr 2010 03:54:32 +0000
(15:54 +1200)
committer
Chris Cormack
<chrisc@catalyst.net.nz>
Wed, 21 Apr 2010 08:26:38 +0000
(20:26 +1200)
12 files changed:
tools/background-job-progress.pl
patch
|
blob
|
history
tools/batchMod.pl
patch
|
blob
|
history
tools/cleanborrowers.pl
patch
|
blob
|
history
tools/csv-profiles.pl
patch
|
blob
|
history
tools/koha-news.pl
patch
|
blob
|
history
tools/pdfViewer.pl
patch
|
blob
|
history
tools/picture-upload.pl
patch
|
blob
|
history
tools/scheduler.pl
patch
|
blob
|
history
tools/stage-marc-import.pl
patch
|
blob
|
history
tools/upload-file-progress.pl
patch
|
blob
|
history
tools/upload-file.pl
patch
|
blob
|
history
tools/viewlog.pl
patch
|
blob
|
history
diff --git
a/tools/background-job-progress.pl
b/tools/background-job-progress.pl
index
cd8a065
..
db4d890
100755
(executable)
--- a/
tools/background-job-progress.pl
+++ b/
tools/background-job-progress.pl
@@
-18,6
+18,7
@@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
use strict;
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
use strict;
+#use warnings; FIXME - Bug 2505
# standard or CPAN modules used
use IO::File;
# standard or CPAN modules used
use IO::File;
diff --git
a/tools/batchMod.pl
b/tools/batchMod.pl
index
2d284d6
..
6c3caf8
100755
(executable)
--- a/
tools/batchMod.pl
+++ b/
tools/batchMod.pl
@@
-20,6
+20,7
@@
use CGI;
use strict;
use CGI;
use strict;
+#use warnings; FIXME - Bug 2505
use C4::Auth;
use C4::Output;
use C4::Biblio;
use C4::Auth;
use C4::Output;
use C4::Biblio;
diff --git
a/tools/cleanborrowers.pl
b/tools/cleanborrowers.pl
index
1a6c9bc
..
4fde0f2
100755
(executable)
--- a/
tools/cleanborrowers.pl
+++ b/
tools/cleanborrowers.pl
@@
-33,6
+33,7
@@
This script allows to do 2 things.
=cut
use strict;
=cut
use strict;
+#use warnings; FIXME - Bug 2505
use CGI;
use C4::Auth;
use C4::Output;
use CGI;
use C4::Auth;
use C4::Output;
diff --git
a/tools/csv-profiles.pl
b/tools/csv-profiles.pl
index
7aafc92
..
6f467ee
100755
(executable)
--- a/
tools/csv-profiles.pl
+++ b/
tools/csv-profiles.pl
@@
-35,6
+35,7
@@
This script allow the user to define a new profile for CSV export
=cut
use strict;
=cut
use strict;
+#use warnings; FIXME - Bug 2505
use Data::Dumper;
use Encode;
use Data::Dumper;
use Encode;
diff --git
a/tools/koha-news.pl
b/tools/koha-news.pl
index
cc70172
..
ff4a32f
100755
(executable)
--- a/
tools/koha-news.pl
+++ b/
tools/koha-news.pl
@@
-22,6
+22,7
@@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
use strict;
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
use strict;
+#use warnings; FIXME - Bug 2505
use CGI;
use C4::Auth;
use C4::Koha;
use CGI;
use C4::Auth;
use C4::Koha;
diff --git
a/tools/pdfViewer.pl
b/tools/pdfViewer.pl
index
3ca61a8
..
6a3549a
100755
(executable)
--- a/
tools/pdfViewer.pl
+++ b/
tools/pdfViewer.pl
@@
-23,6
+23,7
@@
use strict;
use strict;
+#use warnings; FIXME - Bug 2505
use C4::Context;
use CGI;
use C4::Context;
use CGI;
diff --git
a/tools/picture-upload.pl
b/tools/picture-upload.pl
index
c3f7b00
..
d21b6b0
100755
(executable)
--- a/
tools/picture-upload.pl
+++ b/
tools/picture-upload.pl
@@
-19,6
+19,9
@@
#
#
#
#
+#use strict;
+#use warnings; FIXME - Bug 2505
+
use File::Temp;
use File::Copy;
use CGI;
use File::Temp;
use File::Copy;
use CGI;
diff --git
a/tools/scheduler.pl
b/tools/scheduler.pl
index
9490301
..
4d732db
100755
(executable)
--- a/
tools/scheduler.pl
+++ b/
tools/scheduler.pl
@@
-18,6
+18,7
@@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
use strict;
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
use strict;
+#use warnings; FIXME - Bug 2505
use C4::Context;
use C4::Scheduler;
use C4::Reports::Guided;
use C4::Context;
use C4::Scheduler;
use C4::Reports::Guided;
diff --git
a/tools/stage-marc-import.pl
b/tools/stage-marc-import.pl
index
2cd77c5
..
cc15f47
100755
(executable)
--- a/
tools/stage-marc-import.pl
+++ b/
tools/stage-marc-import.pl
@@
-25,6
+25,7
@@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
use strict;
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
use strict;
+#use warnings; FIXME - Bug 2505
# standard or CPAN modules used
use CGI;
# standard or CPAN modules used
use CGI;
diff --git
a/tools/upload-file-progress.pl
b/tools/upload-file-progress.pl
index
5e61d0e
..
e3a643b
100755
(executable)
--- a/
tools/upload-file-progress.pl
+++ b/
tools/upload-file-progress.pl
@@
-18,6
+18,7
@@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
use strict;
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
use strict;
+#use warnings; FIXME - Bug 2505
# standard or CPAN modules used
use IO::File;
# standard or CPAN modules used
use IO::File;
diff --git
a/tools/upload-file.pl
b/tools/upload-file.pl
index
6b1fabb
..
1f38d07
100755
(executable)
--- a/
tools/upload-file.pl
+++ b/
tools/upload-file.pl
@@
-18,6
+18,7
@@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
use strict;
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
use strict;
+#use warnings; FIXME - Bug 2505
# standard or CPAN modules used
use IO::File;
# standard or CPAN modules used
use IO::File;
diff --git
a/tools/viewlog.pl
b/tools/viewlog.pl
index
d2e0b37
..
4880451
100755
(executable)
--- a/
tools/viewlog.pl
+++ b/
tools/viewlog.pl
@@
-19,6
+19,7
@@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
use strict;
# 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;
use C4::Auth;
use CGI;
use C4::Context;