From 70021c3858d5e813dbb0b95399983024a4b352d0 Mon Sep 17 00:00:00 2001 From: tonnesen Date: Tue, 10 Dec 2002 06:22:07 +0000 Subject: [PATCH] Missed "use C4::Auth;" line required by checkauth routine... --- acqui.simple/addbookslccn.pl | 1 + acqui.simple/viewmarc.pl | 1 + acqui/acquire.pl | 1 + acqui/addorder.pl | 1 + acqui/basket.pl | 1 + acqui/finishreceive.pl | 1 + acqui/modorders.pl | 1 + acqui/newbasket.pl | 1 + acqui/newbasket2.pl | 1 + acqui/newbiblio.pl | 1 + acqui/order.pl | 1 + acqui/receive.pl | 1 + acqui/recieveorder.pl | 1 + acqui/supplier.pl | 1 + acqui/updatesupplier.pl | 1 + admin/aqbookfund.pl | 1 + admin/aqbudget.pl | 1 + admin/branches.pl | 1 + admin/categorie.pl | 1 + admin/categoryitem.pl | 1 + admin/currency.pl | 1 + admin/itemtypes.pl | 1 + admin/itemtypesearchgroups.pl | 1 + admin/printers.pl | 1 + admin/stopwords.pl | 1 + admin/systempreferences.pl | 1 + admin/z3950servers.pl | 1 + bookcount.pl | 1 + circ/selectbranchprinter.pl | 1 + currency.pl | 1 + groups.pl | 1 + jmemberentry.pl | 1 + logout.pl | 1 + maint/catmaintain.pl | 1 + maint/shiftbib.pl | 1 + mancredit.pl | 1 + maninvoice.pl | 1 + marc/viewmarc.pl | 1 + modrequest.pl | 1 + orderbreakdown.pl | 1 + overdue.pl | 1 + pay.pl | 1 + placerequest.pl | 1 + renewscript.pl | 1 + reports.pl | 1 + reservereport.pl | 1 + sec/writeoff.pl | 1 + showbudget.pl | 1 + simpleredirect.pl | 1 + stats.pl | 1 + stats2.pl | 1 + subjectsearch.pl | 1 + tidyaccounts.pl | 1 + 53 files changed, 53 insertions(+) diff --git a/acqui.simple/addbookslccn.pl b/acqui.simple/addbookslccn.pl index 639e0b1446..175bfb8411 100755 --- a/acqui.simple/addbookslccn.pl +++ b/acqui.simple/addbookslccn.pl @@ -14,6 +14,7 @@ # Add info on biblioitems and items already entered as you enter new ones use C4::Database; +use C4::Auth; use CGI; use strict; use C4::Acquisitions; diff --git a/acqui.simple/viewmarc.pl b/acqui.simple/viewmarc.pl index f7629ef4c0..eea2405ba5 100755 --- a/acqui.simple/viewmarc.pl +++ b/acqui.simple/viewmarc.pl @@ -9,6 +9,7 @@ my $starttime=gettime(); use C4::Database; +use C4::Auth; use CGI; use strict; use C4::Acquisitions; diff --git a/acqui/acquire.pl b/acqui/acquire.pl index 48b6986370..9ef3831bd3 100755 --- a/acqui/acquire.pl +++ b/acqui/acquire.pl @@ -4,6 +4,7 @@ #written by chris@katipo.co.nz 24/2/2000 use C4::Acquisitions; +use C4::Auth; use C4::Biblio; use C4::Output; use C4::Database; diff --git a/acqui/addorder.pl b/acqui/addorder.pl index a8e357f317..8968756811 100755 --- a/acqui/addorder.pl +++ b/acqui/addorder.pl @@ -4,6 +4,7 @@ #written 29/2/00 by chris@katipo.co.nz use strict; +use C4::Auth; use CGI; use C4::Output; use C4::Acquisitions; diff --git a/acqui/basket.pl b/acqui/basket.pl index b4e2c07541..89ce48bb48 100755 --- a/acqui/basket.pl +++ b/acqui/basket.pl @@ -4,6 +4,7 @@ #written by chris@katipo.co.nz 24/2/2000 use C4::Acquisitions; +use C4::Auth; use C4::Biblio; use C4::Output; use CGI; diff --git a/acqui/finishreceive.pl b/acqui/finishreceive.pl index 6b0db94a40..95853279e1 100755 --- a/acqui/finishreceive.pl +++ b/acqui/finishreceive.pl @@ -4,6 +4,7 @@ #written 1/3/00 by chris@katipo.co.nz use C4::Output; +use C4::Auth; use C4::Acquisitions; use C4::Biblio; use CGI; diff --git a/acqui/modorders.pl b/acqui/modorders.pl index e258fed513..527ca4aae6 100755 --- a/acqui/modorders.pl +++ b/acqui/modorders.pl @@ -4,6 +4,7 @@ #written 29/2/00 by chris@katipo.co.nz use strict; +use C4::Auth; use CGI; use C4::Output; use C4::Acquisitions; diff --git a/acqui/newbasket.pl b/acqui/newbasket.pl index 18281a1fbf..64f955867f 100755 --- a/acqui/newbasket.pl +++ b/acqui/newbasket.pl @@ -4,6 +4,7 @@ #written by chris@katipo.co.nz 24/2/2000 use C4::Acquisitions; +use C4::Auth; use C4::Biblio; use C4::Output; use CGI; diff --git a/acqui/newbasket2.pl b/acqui/newbasket2.pl index 2e9a199875..9e2260418f 100755 --- a/acqui/newbasket2.pl +++ b/acqui/newbasket2.pl @@ -3,6 +3,7 @@ #now script to do searching for acquisitions use strict; +use C4::Auth; use C4::Search; use CGI; use C4::Output; diff --git a/acqui/newbiblio.pl b/acqui/newbiblio.pl index 3b826206b2..2414f1f335 100755 --- a/acqui/newbiblio.pl +++ b/acqui/newbiblio.pl @@ -4,6 +4,7 @@ #written by chris@katipo.co.nz 24/2/2000 use C4::Acquisitions; +use C4::Auth; use C4::Biblio; use C4::Output; use C4::Search; diff --git a/acqui/order.pl b/acqui/order.pl index 5cf9c2e813..ad79773ecb 100755 --- a/acqui/order.pl +++ b/acqui/order.pl @@ -4,6 +4,7 @@ #written by chris@katipo.co.nz 23/2/2000 use C4::Acquisitions; +use C4::Auth; use C4::Biblio; use C4::Output; use CGI; diff --git a/acqui/receive.pl b/acqui/receive.pl index c1efcab449..537446b89f 100755 --- a/acqui/receive.pl +++ b/acqui/receive.pl @@ -4,6 +4,7 @@ #written by chris@katipo.co.nz 24/2/2000 use C4::Acquisitions; +use C4::Auth; use C4::Biblio; use C4::Output; use CGI; diff --git a/acqui/recieveorder.pl b/acqui/recieveorder.pl index d204376617..b43b5e6bc1 100755 --- a/acqui/recieveorder.pl +++ b/acqui/recieveorder.pl @@ -4,6 +4,7 @@ #written by chris@katipo.co.nz 24/2/2000 use C4::Acquisitions; +use C4::Auth; use C4::Biblio; use C4::Output; use CGI; diff --git a/acqui/supplier.pl b/acqui/supplier.pl index d4949b800c..1e735da58f 100755 --- a/acqui/supplier.pl +++ b/acqui/supplier.pl @@ -4,6 +4,7 @@ #written by chris@katipo.co.nz 24/2/2000 use C4::Acquisitions; +use C4::Auth; use C4::Biblio; use C4::Output; use CGI; diff --git a/acqui/updatesupplier.pl b/acqui/updatesupplier.pl index cce8b48c6f..09f5bea717 100755 --- a/acqui/updatesupplier.pl +++ b/acqui/updatesupplier.pl @@ -4,6 +4,7 @@ #written by chris@katipo.co.nz 23/2/2000 use C4::Acquisitions; +use C4::Auth; use C4::Biblio; use C4::Output; use CGI; diff --git a/admin/aqbookfund.pl b/admin/aqbookfund.pl index 6443df1713..d149c33b06 100755 --- a/admin/aqbookfund.pl +++ b/admin/aqbookfund.pl @@ -20,6 +20,7 @@ # - we delete the record having primkey=$primkey use strict; +use C4::Auth; use C4::Output; use CGI; use C4::Search; diff --git a/admin/aqbudget.pl b/admin/aqbudget.pl index 8857848335..cd3ac77535 100755 --- a/admin/aqbudget.pl +++ b/admin/aqbudget.pl @@ -20,6 +20,7 @@ # - we delete the record having primkey=$primkey use strict; +use C4::Auth; use C4::Output; use CGI; use C4::Search; diff --git a/admin/branches.pl b/admin/branches.pl index 385ce99b9c..2ed809628e 100755 --- a/admin/branches.pl +++ b/admin/branches.pl @@ -20,6 +20,7 @@ # - we delete the record having primkey=$primkey use strict; +use C4::Auth; use C4::Output; use CGI; use C4::Search; diff --git a/admin/categorie.pl b/admin/categorie.pl index d1e8e9cfa0..f0fe7a29b0 100755 --- a/admin/categorie.pl +++ b/admin/categorie.pl @@ -19,6 +19,7 @@ # - we delete the record having primkey=$primkey use strict; +use C4::Auth; use C4::Output; use CGI; use C4::Search; diff --git a/admin/categoryitem.pl b/admin/categoryitem.pl index bba8ff3511..811541af34 100644 --- a/admin/categoryitem.pl +++ b/admin/categoryitem.pl @@ -20,6 +20,7 @@ # - we delete the record having primkey=$primkey use strict; +use C4::Auth; use C4::Output; use CGI; use C4::Search; diff --git a/admin/currency.pl b/admin/currency.pl index b186db296f..502f0bd3f8 100755 --- a/admin/currency.pl +++ b/admin/currency.pl @@ -20,6 +20,7 @@ # - we delete the record having primkey=$primkey use strict; +use C4::Auth; use C4::Output; use CGI; use C4::Search; diff --git a/admin/itemtypes.pl b/admin/itemtypes.pl index 6db585431e..f537fb2e76 100755 --- a/admin/itemtypes.pl +++ b/admin/itemtypes.pl @@ -20,6 +20,7 @@ # - we delete the record having primkey=$primkey use strict; +use C4::Auth; use C4::Output; use CGI; use C4::Search; diff --git a/admin/itemtypesearchgroups.pl b/admin/itemtypesearchgroups.pl index ea92d9fed2..80800a546c 100755 --- a/admin/itemtypesearchgroups.pl +++ b/admin/itemtypesearchgroups.pl @@ -20,6 +20,7 @@ # - we delete the record having primkey=$primkey use strict; +use C4::Auth; use C4::Output; use CGI; use C4::Search; diff --git a/admin/printers.pl b/admin/printers.pl index 86035a13a0..b2a84a3235 100755 --- a/admin/printers.pl +++ b/admin/printers.pl @@ -20,6 +20,7 @@ # - we delete the record having primkey=$primkey use strict; +use C4::Auth; use C4::Output; use CGI; use C4::Search; diff --git a/admin/stopwords.pl b/admin/stopwords.pl index 5ad55feea2..9923a5c346 100755 --- a/admin/stopwords.pl +++ b/admin/stopwords.pl @@ -20,6 +20,7 @@ # - we delete the record having primkey=$primkey use strict; +use C4::Auth; use C4::Output; use CGI; use C4::Search; diff --git a/admin/systempreferences.pl b/admin/systempreferences.pl index 5593df58ea..15a71ea528 100755 --- a/admin/systempreferences.pl +++ b/admin/systempreferences.pl @@ -20,6 +20,7 @@ # - we delete the record having primkey=$primkey use strict; +use C4::Auth; use C4::Output; use CGI; use C4::Search; diff --git a/admin/z3950servers.pl b/admin/z3950servers.pl index a1af7406b5..98ce408004 100755 --- a/admin/z3950servers.pl +++ b/admin/z3950servers.pl @@ -20,6 +20,7 @@ # - we delete the record having primkey=$primkey use strict; +use C4::Auth; use C4::Output; use CGI; use C4::Search; diff --git a/bookcount.pl b/bookcount.pl index 2540964d2d..b83f092ade 100755 --- a/bookcount.pl +++ b/bookcount.pl @@ -24,6 +24,7 @@ # Suite 330, Boston, MA 02111-1307 USA use strict; +use C4::Auth; use CGI; use C4::Context; use C4::Search; diff --git a/circ/selectbranchprinter.pl b/circ/selectbranchprinter.pl index ed55a0bca9..efebee6037 100644 --- a/circ/selectbranchprinter.pl +++ b/circ/selectbranchprinter.pl @@ -19,6 +19,7 @@ # Suite 330, Boston, MA 02111-1307 USA use strict; +use C4::Auth; use CGI qw/:standard/; use C4::Circulation::Circ2; use C4::Output; diff --git a/currency.pl b/currency.pl index 8a7bea51e4..e153b0ae99 100755 --- a/currency.pl +++ b/currency.pl @@ -28,6 +28,7 @@ # to be used. Is it obsolete? use CGI; +use C4::Auth; use C4::Acquisitions; use C4::Biblio; diff --git a/groups.pl b/groups.pl index a56e95c185..62865a196a 100755 --- a/groups.pl +++ b/groups.pl @@ -24,6 +24,7 @@ # Suite 330, Boston, MA 02111-1307 USA use CGI qw/:standard/; +use C4::Auth; use C4::Output; use C4::Groups; use C4::Circulation::Circ2; diff --git a/jmemberentry.pl b/jmemberentry.pl index 6ca8369614..4b008e9ce9 100755 --- a/jmemberentry.pl +++ b/jmemberentry.pl @@ -4,6 +4,7 @@ #written 20/12/99 by chris@katipo.co.nz use strict; +use C4::Auth; use C4::Output; use CGI; use C4::Search; diff --git a/logout.pl b/logout.pl index b21f8afd23..b5129363bc 100755 --- a/logout.pl +++ b/logout.pl @@ -1,6 +1,7 @@ #!/usr/bin/perl use CGI; +use C4::Auth; use C4::Database; use C4::Output; diff --git a/maint/catmaintain.pl b/maint/catmaintain.pl index e4831e4b96..6d8f71744a 100755 --- a/maint/catmaintain.pl +++ b/maint/catmaintain.pl @@ -5,6 +5,7 @@ # by chris@katipo.co.nz use strict; +use C4::Auth; use CGI; use C4::Output; use C4::Database; diff --git a/maint/shiftbib.pl b/maint/shiftbib.pl index 66aff87dba..96176ec109 100755 --- a/maint/shiftbib.pl +++ b/maint/shiftbib.pl @@ -5,6 +5,7 @@ # by chris@katipo.co.nz use strict; +use C4::Auth; use CGI; use C4::Output; use C4::Database; diff --git a/mancredit.pl b/mancredit.pl index bc4d918208..454af47920 100755 --- a/mancredit.pl +++ b/mancredit.pl @@ -4,6 +4,7 @@ #script to display borrowers account details use strict; +use C4::Auth; use C4::Output; use CGI; use C4::Search; diff --git a/maninvoice.pl b/maninvoice.pl index f77c6908af..2e95186182 100755 --- a/maninvoice.pl +++ b/maninvoice.pl @@ -4,6 +4,7 @@ #script to display borrowers account details use strict; +use C4::Auth; use C4::Output; use CGI; use C4::Search; diff --git a/marc/viewmarc.pl b/marc/viewmarc.pl index f7629ef4c0..eea2405ba5 100755 --- a/marc/viewmarc.pl +++ b/marc/viewmarc.pl @@ -9,6 +9,7 @@ my $starttime=gettime(); use C4::Database; +use C4::Auth; use CGI; use strict; use C4::Acquisitions; diff --git a/modrequest.pl b/modrequest.pl index 2d5cca13c3..e47abf8fdc 100755 --- a/modrequest.pl +++ b/modrequest.pl @@ -5,6 +5,7 @@ #last update 27/1/2000 by chris@katipo.co.nz use strict; +use C4::Auth; #use DBI; use C4::Search; use CGI; diff --git a/orderbreakdown.pl b/orderbreakdown.pl index 715ce5cf9b..8424232eb7 100755 --- a/orderbreakdown.pl +++ b/orderbreakdown.pl @@ -4,6 +4,7 @@ #written by chris@katipo.co.nz 31/01/2000 use C4::Acquisitions; +use C4::Auth; use C4::Biblio; use C4::Output; use CGI; diff --git a/overdue.pl b/overdue.pl index d91f9843b5..f3b8e78b81 100755 --- a/overdue.pl +++ b/overdue.pl @@ -1,6 +1,7 @@ #!/usr/bin/perl use strict; +use C4::Auth; use C4::Output; use CGI; use C4::Database; diff --git a/pay.pl b/pay.pl index 4eace43e10..5fdd02f5dc 100755 --- a/pay.pl +++ b/pay.pl @@ -4,6 +4,7 @@ #part of the koha library system, script to facilitate paying off fines use strict; +use C4::Auth; use C4::Output; use CGI; use C4::Search; diff --git a/placerequest.pl b/placerequest.pl index be147bb6dc..738fcd35a0 100755 --- a/placerequest.pl +++ b/placerequest.pl @@ -4,6 +4,7 @@ #writen 2/1/00 by chris@katipo.oc.nz use strict; +use C4::Auth; #use DBI; use C4::Search; use CGI; diff --git a/renewscript.pl b/renewscript.pl index 9afdb34aca..324db09d43 100755 --- a/renewscript.pl +++ b/renewscript.pl @@ -4,6 +4,7 @@ #script to renew items from the web use CGI; +use C4::Auth; use C4::Circulation::Renewals2; #get input my $input= new CGI; diff --git a/reports.pl b/reports.pl index 023b580ae1..1f78778cec 100755 --- a/reports.pl +++ b/reports.pl @@ -4,6 +4,7 @@ #written 8/11/99 use strict; +use C4::Auth; use CGI; use C4::Output; use C4::Stats; diff --git a/reservereport.pl b/reservereport.pl index d4d0eb0d9e..d6f6bdea7e 100755 --- a/reservereport.pl +++ b/reservereport.pl @@ -4,6 +4,7 @@ #script to display reports use C4::Stats; +use C4::Auth; use strict; use Date::Manip; use CGI; diff --git a/sec/writeoff.pl b/sec/writeoff.pl index a887b8cddd..3fda734156 100755 --- a/sec/writeoff.pl +++ b/sec/writeoff.pl @@ -4,6 +4,7 @@ #script to write off accounts use strict; +use C4::Auth; use CGI; use C4::Database; use C4::Stats; diff --git a/showbudget.pl b/showbudget.pl index 70a886ea41..3727c1daaa 100755 --- a/showbudget.pl +++ b/showbudget.pl @@ -5,6 +5,7 @@ #called as an include by the acquisitions index page use C4::Acquisitions; +use C4::Auth; use C4::Biblio; #use CGI; #my $inp=new CGI; diff --git a/simpleredirect.pl b/simpleredirect.pl index 1d84c4978d..89e66b2183 100755 --- a/simpleredirect.pl +++ b/simpleredirect.pl @@ -4,6 +4,7 @@ #used by members section use CGI; +use C4::Auth; use strict; my $input=new CGI; diff --git a/stats.pl b/stats.pl index 19f046ee43..7ded5fd5d6 100755 --- a/stats.pl +++ b/stats.pl @@ -4,6 +4,7 @@ #script to display reports use C4::Stats; +use C4::Auth; use strict; use Date::Manip; use CGI; diff --git a/stats2.pl b/stats2.pl index d566a5206f..e64071f98e 100755 --- a/stats2.pl +++ b/stats2.pl @@ -4,6 +4,7 @@ #script to display reports use C4::Stats; +use C4::Auth; use strict; use Date::Manip; use CGI; diff --git a/subjectsearch.pl b/subjectsearch.pl index cadb9bc1d8..4e0b49e4e2 100755 --- a/subjectsearch.pl +++ b/subjectsearch.pl @@ -4,6 +4,7 @@ #written 8/11/99 use strict; +use C4::Auth; #use DBI; use C4::Search; use CGI; diff --git a/tidyaccounts.pl b/tidyaccounts.pl index 875f80c41a..5c810f6a37 100755 --- a/tidyaccounts.pl +++ b/tidyaccounts.pl @@ -4,6 +4,7 @@ # use strict; +use C4::Auth; use C4::Database; use CGI; use C4::Accounts2; -- 2.39.5