From 6f204fdf96f16340da184aa27142a391871dcc37 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 18 Jun 2021 11:34:54 +0200 Subject: [PATCH] Bug 28591: Don't pass debug to get_template_and_user There is a "debug" parameter we are passing from the controller scripts to C4::Auth::get_template_and_user, but it's not actually used! Test plan: Confirm the assumption Review the changes from this patch Generated with: perl -p -i -e 's#\s*debug\s*=\>\s*(0|1),?\s*##gms' **/*.pl git checkout misc/devel/update_dbix_class_files.pl # Wrong catch + Manual fix in acqui/neworderempty.pl Signed-off-by: Martin Renvoize Signed-off-by: Jonathan Druart --- about.pl | 1 - acqui/acqui-home.pl | 1 - acqui/addorder.pl | 1 - acqui/addorderiso2709.pl | 1 - acqui/basket.pl | 1 - acqui/basketgroup.pl | 1 - acqui/basketheader.pl | 1 - acqui/booksellers.pl | 1 - acqui/cancelorder.pl | 1 - acqui/check_budget_total.pl | 2 +- acqui/edi_ean.pl | 1 - acqui/edifactmsgs.pl | 1 - acqui/edimsg.pl | 1 - acqui/histsearch.pl | 1 - acqui/invoice-files.pl | 1 - acqui/invoice.pl | 1 - acqui/invoices.pl | 1 - acqui/lateorders.pl | 1 - acqui/modordernotes.pl | 1 - acqui/neworderempty.pl | 2 -- acqui/ordered.pl | 1 - acqui/orderreceive.pl | 1 - acqui/parcel.pl | 1 - acqui/parcels.pl | 1 - acqui/spent.pl | 1 - acqui/supplier.pl | 1 - acqui/uncertainprice.pl | 1 - admin/additional-fields.pl | 1 - admin/admin-home.pl | 1 - admin/adveditorshortcuts.pl | 1 - admin/aqbudgetperiods.pl | 1 - admin/aqbudgets.pl | 1 - admin/aqcontract.pl | 1 - admin/aqplan.pl | 1 - admin/audio_alerts.pl | 1 - admin/auth_subfields_structure.pl | 1 - admin/auth_tag_structure.pl | 1 - admin/authorised_values.pl | 1 - admin/authtypes.pl | 1 - admin/background_jobs.pl | 1 - admin/biblio_framework.pl | 1 - admin/branch_transfer_limits.pl | 1 - admin/branches.pl | 1 - admin/categories.pl | 1 - admin/check_budget_parent.pl | 1 - admin/check_parent_total.pl | 1 - admin/checkmarc.pl | 1 - admin/cities.pl | 1 - admin/classsources.pl | 1 - admin/clone-rules.pl | 1 - admin/columns_settings.pl | 1 - admin/credit_types.pl | 1 - admin/debit_types.pl | 1 - admin/desks.pl | 1 - admin/didyoumean.pl | 1 - admin/itemtypes.pl | 1 - admin/koha2marclinks.pl | 1 - admin/library_groups.pl | 1 - admin/localization.pl | 1 - admin/marc_subfields_structure.pl | 1 - admin/marctagstructure.pl | 1 - admin/matching-rules.pl | 1 - admin/oai_set_mappings.pl | 1 - admin/oai_sets.pl | 1 - admin/preferences.pl | 1 - admin/share_content.pl | 1 - admin/smart-rules.pl | 1 - admin/sms_providers.pl | 1 - admin/systempreferences.pl | 1 - admin/transfer_limits.pl | 1 - admin/transport-cost-matrix.pl | 1 - admin/usage_statistics.pl | 1 - admin/z3950servers.pl | 1 - authorities/authorities-home.pl | 3 --- authorities/authorities.pl | 1 - authorities/detail-biblio-search.pl | 1 - authorities/detail.pl | 1 - authorities/export.pl | 1 - catalogue/MARCdetail.pl | 1 - catalogue/export.pl | 1 - catalogue/labeledMARCdetail.pl | 1 - catalogue/showmarc.pl | 1 - cataloguing/addbooks.pl | 1 - cataloguing/additem.pl | 1 - cataloguing/linkitem.pl | 1 - cataloguing/moveitem.pl | 1 - cataloguing/value_builder/callnumber-KU.pl | 1 - cataloguing/value_builder/callnumber.pl | 1 - cataloguing/value_builder/macles.pl | 1 - cataloguing/value_builder/marc21_field_006.pl | 1 - cataloguing/value_builder/marc21_field_007.pl | 1 - cataloguing/value_builder/marc21_field_008.pl | 1 - cataloguing/value_builder/marc21_field_008_authorities.pl | 1 - cataloguing/value_builder/marc21_field_008_classifications.pl | 1 - cataloguing/value_builder/marc21_leader.pl | 1 - cataloguing/value_builder/marc21_leader_authorities.pl | 1 - cataloguing/value_builder/marc21_linking_section.pl | 2 -- cataloguing/value_builder/normarc_field_007.pl | 1 - cataloguing/value_builder/normarc_field_008.pl | 1 - cataloguing/value_builder/normarc_leader.pl | 1 - cataloguing/value_builder/stocknumberAV.pl | 1 - cataloguing/value_builder/stocknumberam123.pl | 1 - cataloguing/value_builder/unimarc_field_010.pl | 1 - cataloguing/value_builder/unimarc_field_100.pl | 1 - cataloguing/value_builder/unimarc_field_100_authorities.pl | 1 - cataloguing/value_builder/unimarc_field_105.pl | 1 - cataloguing/value_builder/unimarc_field_106.pl | 1 - cataloguing/value_builder/unimarc_field_110.pl | 1 - cataloguing/value_builder/unimarc_field_115a.pl | 1 - cataloguing/value_builder/unimarc_field_115b.pl | 1 - cataloguing/value_builder/unimarc_field_116.pl | 1 - cataloguing/value_builder/unimarc_field_117.pl | 1 - cataloguing/value_builder/unimarc_field_120.pl | 1 - cataloguing/value_builder/unimarc_field_121a.pl | 1 - cataloguing/value_builder/unimarc_field_121b.pl | 1 - cataloguing/value_builder/unimarc_field_122.pl | 1 - cataloguing/value_builder/unimarc_field_123a.pl | 1 - cataloguing/value_builder/unimarc_field_123d.pl | 1 - cataloguing/value_builder/unimarc_field_123e.pl | 1 - cataloguing/value_builder/unimarc_field_123f.pl | 1 - cataloguing/value_builder/unimarc_field_123g.pl | 1 - cataloguing/value_builder/unimarc_field_123i.pl | 1 - cataloguing/value_builder/unimarc_field_123j.pl | 1 - cataloguing/value_builder/unimarc_field_124.pl | 1 - cataloguing/value_builder/unimarc_field_124a.pl | 1 - cataloguing/value_builder/unimarc_field_124b.pl | 1 - cataloguing/value_builder/unimarc_field_124c.pl | 1 - cataloguing/value_builder/unimarc_field_124d.pl | 1 - cataloguing/value_builder/unimarc_field_124e.pl | 1 - cataloguing/value_builder/unimarc_field_124f.pl | 1 - cataloguing/value_builder/unimarc_field_124g.pl | 1 - cataloguing/value_builder/unimarc_field_125.pl | 1 - cataloguing/value_builder/unimarc_field_125a.pl | 1 - cataloguing/value_builder/unimarc_field_125b.pl | 1 - cataloguing/value_builder/unimarc_field_126.pl | 1 - cataloguing/value_builder/unimarc_field_126a.pl | 1 - cataloguing/value_builder/unimarc_field_126b.pl | 1 - cataloguing/value_builder/unimarc_field_127.pl | 1 - cataloguing/value_builder/unimarc_field_128a.pl | 1 - cataloguing/value_builder/unimarc_field_128b.pl | 1 - cataloguing/value_builder/unimarc_field_128c.pl | 1 - cataloguing/value_builder/unimarc_field_130.pl | 1 - cataloguing/value_builder/unimarc_field_135a.pl | 1 - cataloguing/value_builder/unimarc_field_140.pl | 1 - cataloguing/value_builder/unimarc_field_141.pl | 1 - cataloguing/value_builder/unimarc_field_210c.pl | 2 -- cataloguing/value_builder/unimarc_field_210c_bis.pl | 1 - cataloguing/value_builder/unimarc_field_225a.pl | 1 - cataloguing/value_builder/unimarc_field_225a_bis.pl | 1 - cataloguing/value_builder/unimarc_field_4XX.pl | 2 -- cataloguing/value_builder/unimarc_field_686a.pl | 1 - cataloguing/value_builder/unimarc_field_700-4.pl | 1 - cataloguing/value_builder/unimarc_leader.pl | 1 - circ/add_message.pl | 1 - circ/bookcount.pl | 1 - circ/branchoverdues.pl | 1 - circ/del_message.pl | 1 - circ/overdue.pl | 1 - circ/pendingreserves.pl | 1 - circ/reserveratios.pl | 1 - circ/set-library.pl | 1 - circ/transfers_to_send.pl | 1 - circ/transferstoreceive.pl | 1 - circ/view_holdsqueue.pl | 1 - circ/waitingreserves.pl | 1 - errors/400.pl | 1 - errors/401.pl | 1 - errors/402.pl | 1 - errors/403.pl | 1 - errors/404.pl | 1 - errors/500.pl | 1 - installer/install.pl | 1 - installer/onboarding.pl | 1 - labels/label-create-pdf.pl | 1 - labels/label-edit-batch.pl | 1 - labels/label-edit-layout.pl | 1 - labels/label-edit-profile.pl | 1 - labels/label-edit-range.pl | 1 - labels/label-edit-template.pl | 1 - labels/label-home.pl | 1 - labels/label-item-search.pl | 2 -- labels/label-manage.pl | 1 - labels/label-print.pl | 1 - labels/spinelabel-home.pl | 1 - labels/spinelabel-print.pl | 1 - members/boraccount.pl | 1 - members/deletemem.pl | 1 - members/files.pl | 1 - members/holdshistory.pl | 1 - members/ill-requests.pl | 1 - members/member-flags.pl | 1 - members/member-password.pl | 1 - members/members-home.pl | 1 - members/members-update-do.pl | 1 - members/members-update.pl | 1 - members/moremember.pl | 1 - members/notices.pl | 1 - members/pay.pl | 1 - members/paycollect.pl | 1 - members/print_overdues.pl | 1 - members/printslip.pl | 1 - members/purchase-suggestions.pl | 1 - members/readingrec.pl | 1 - members/statistics.pl | 1 - members/summary-print.pl | 1 - members/update-child.pl | 1 - misc/migration_tools/koha-svc.pl | 1 - opac/errors/400.pl | 1 - opac/errors/401.pl | 1 - opac/errors/402.pl | 1 - opac/errors/403.pl | 1 - opac/errors/404.pl | 1 - opac/errors/500.pl | 1 - opac/ilsdi.pl | 2 -- opac/opac-ISBDdetail.pl | 1 - opac/opac-MARCdetail.pl | 1 - opac/opac-account-pay.pl | 1 - opac/opac-account.pl | 1 - opac/opac-alert-subscribe.pl | 1 - opac/opac-article-request-cancel.pl | 1 - opac/opac-authorities-home.pl | 2 -- opac/opac-authoritiesdetail.pl | 1 - opac/opac-browser.pl | 1 - opac/opac-course-details.pl | 1 - opac/opac-course-reserves.pl | 1 - opac/opac-discharge.pl | 1 - opac/opac-ics.pl | 1 - opac/opac-issue-note.pl | 1 - opac/opac-messaging.pl | 1 - opac/opac-modrequest-suspend.pl | 1 - opac/opac-modrequest.pl | 1 - opac/opac-mymessages.pl | 1 - opac/opac-overdrive-search.pl | 1 - opac/opac-passwd.pl | 1 - opac/opac-password-recovery.pl | 1 - opac/opac-privacy.pl | 1 - opac/opac-ratings-ajax.pl | 1 - opac/opac-readingrecord.pl | 1 - opac/opac-recordedbooks-search.pl | 1 - opac/opac-renew.pl | 1 - opac/opac-request-article.pl | 1 - opac/opac-reserve.pl | 1 - opac/opac-restrictedpage.pl | 1 - opac/opac-routing-lists.pl | 1 - opac/opac-search-history.pl | 1 - opac/opac-serial-issues.pl | 2 -- opac/opac-showmarc.pl | 1 - opac/opac-tags.pl | 1 - opac/opac-tags_subject.pl | 1 - opac/opac-topissues.pl | 1 - opac/opac-user.pl | 1 - opac/sco/help.pl | 1 - opac/sco/sco-main.pl | 1 - patroncards/create-pdf.pl | 1 - patroncards/edit-batch.pl | 1 - patroncards/edit-layout.pl | 1 - patroncards/edit-profile.pl | 1 - patroncards/edit-template.pl | 1 - patroncards/home.pl | 1 - patroncards/image-manage.pl | 1 - patroncards/manage.pl | 1 - patroncards/print.pl | 1 - plugins/plugins-home.pl | 1 - plugins/plugins-uninstall.pl | 1 - plugins/plugins-upload.pl | 1 - plugins/run.pl | 1 - reports/acquisitions_stats.pl | 1 - reports/bor_issues_top.pl | 1 - reports/borrowers_out.pl | 1 - reports/borrowers_stats.pl | 1 - reports/cash_register_stats.pl | 1 - reports/cat_issues_top.pl | 1 - reports/catalogue_out.pl | 1 - reports/catalogue_stats.pl | 1 - reports/dictionary.pl | 1 - reports/guided_reports.pl | 1 - reports/issues_avg_stats.pl | 1 - reports/issues_stats.pl | 1 - reports/itemslost.pl | 1 - reports/manager.pl | 1 - reports/orders_by_fund.pl | 1 - reports/reports-home.pl | 1 - reports/reserves_stats.pl | 1 - reports/serials_stats.pl | 1 - reserve/modrequest.pl | 1 - reserve/modrequest_suspendall.pl | 1 - reviews/reviewswaiting.pl | 1 - rotating_collections/addItems.pl | 1 - rotating_collections/editCollections.pl | 1 - rotating_collections/rotatingCollections.pl | 1 - rotating_collections/transferCollection.pl | 1 - serials/acqui-search-result.pl | 1 - serials/acqui-search.pl | 1 - serials/checkexpiration.pl | 1 - serials/claims.pl | 1 - serials/routing-preview.pl | 2 -- serials/serials-collection.pl | 1 - serials/serials-edit.pl | 1 - serials/serials-home.pl | 1 - serials/serials-search.pl | 1 - serials/subscription-add.pl | 1 - serials/subscription-bib-search.pl | 2 -- serials/subscription-detail.pl | 1 - serials/subscription-frequencies.pl | 1 - serials/subscription-history.pl | 1 - serials/subscription-renew.pl | 1 - serials/viewalerts.pl | 1 - tags/list.pl | 1 - tags/review.pl | 1 - tools/csv-profiles.pl | 1 - tools/export.pl | 1 - tools/holidays.pl | 1 - tools/import_borrowers.pl | 1 - tools/inventory.pl | 1 - tools/koha-news.pl | 1 - tools/letter.pl | 1 - tools/manage-marc-import.pl | 1 - tools/marc_modification_templates.pl | 1 - tools/overduerules.pl | 1 - tools/picture-upload.pl | 1 - tools/quotes-upload.pl | 1 - tools/quotes.pl | 1 - tools/scheduler.pl | 1 - tools/showdiffmarc.pl | 1 - tools/stage-marc-import.pl | 1 - tools/tools-home.pl | 1 - tools/upload-cover-image.pl | 1 - tools/viewlog.pl | 1 - 328 files changed, 1 insertion(+), 340 deletions(-) diff --git a/about.pl b/about.pl index 32547afec1..3320b36b81 100755 --- a/about.pl +++ b/about.pl @@ -68,7 +68,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => "intranet", flagsrequired => { catalogue => 1 }, - debug => 1, } ); diff --git a/acqui/acqui-home.pl b/acqui/acqui-home.pl index 66572f0b99..26289e6a81 100755 --- a/acqui/acqui-home.pl +++ b/acqui/acqui-home.pl @@ -45,7 +45,6 @@ my ( $template, $loggedinuser, $cookie, $userflags ) = get_template_and_user( query => $query, type => 'intranet', flagsrequired => { acquisition => '*' }, - debug => 1, } ); diff --git a/acqui/addorder.pl b/acqui/addorder.pl index 417c57d261..7a77cfbcdf 100755 --- a/acqui/addorder.pl +++ b/acqui/addorder.pl @@ -219,7 +219,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { acquisition => 'order_manage' }, - debug => 1, } ); diff --git a/acqui/addorderiso2709.pl b/acqui/addorderiso2709.pl index 0e3df3ba04..c445fb8064 100755 --- a/acqui/addorderiso2709.pl +++ b/acqui/addorderiso2709.pl @@ -57,7 +57,6 @@ my ($template, $loggedinuser, $cookie, $userflags) = get_template_and_user({ query => $input, type => "intranet", flagsrequired => { acquisition => 'order_manage' }, - debug => 1, }); my $cgiparams = $input->Vars; diff --git a/acqui/basket.pl b/acqui/basket.pl index 015f27a6b5..5436ae0660 100755 --- a/acqui/basket.pl +++ b/acqui/basket.pl @@ -86,7 +86,6 @@ our ( $template, $loggedinuser, $cookie, $userflags ) = get_template_and_user( query => $query, type => "intranet", flagsrequired => { acquisition => 'order_manage' }, - debug => 1, } ); diff --git a/acqui/basketgroup.pl b/acqui/basketgroup.pl index 69cf5b0378..24a7fc8b51 100755 --- a/acqui/basketgroup.pl +++ b/acqui/basketgroup.pl @@ -66,7 +66,6 @@ our ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {acquisition => 'group_manage'}, - debug => 1, }); sub BasketTotal { diff --git a/acqui/basketheader.pl b/acqui/basketheader.pl index f06900ce85..6e76177cdb 100755 --- a/acqui/basketheader.pl +++ b/acqui/basketheader.pl @@ -64,7 +64,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { acquisition => 'order_manage' }, - debug => 1, } ); diff --git a/acqui/booksellers.pl b/acqui/booksellers.pl index 9b15aac94c..8528a00a34 100755 --- a/acqui/booksellers.pl +++ b/acqui/booksellers.pl @@ -70,7 +70,6 @@ my ( $template, $loggedinuser, $cookie, $userflags ) = get_template_and_user( query => $query, type => 'intranet', flagsrequired => { acquisition => '*' }, - debug => 1, } ); diff --git a/acqui/cancelorder.pl b/acqui/cancelorder.pl index d5b57f81d6..cfa9ec960c 100755 --- a/acqui/cancelorder.pl +++ b/acqui/cancelorder.pl @@ -43,7 +43,6 @@ my ($template, $loggedinuser, $cookie, $flags) = get_template_and_user( { query => $input, type => 'intranet', flagsrequired => { 'acquisition' => 'order_manage' }, - debug => 1, } ); my $action = $input->param('action'); diff --git a/acqui/check_budget_total.pl b/acqui/check_budget_total.pl index b502a1dd62..be4e55350c 100755 --- a/acqui/check_budget_total.pl +++ b/acqui/check_budget_total.pl @@ -38,7 +38,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => "acqui/ajax.tt", query => $input, type => "intranet", - debug => 1, } ); +} ); my $budget = GetBudget($budget_id); diff --git a/acqui/edi_ean.pl b/acqui/edi_ean.pl index 6ed67916c9..1e056557c9 100755 --- a/acqui/edi_ean.pl +++ b/acqui/edi_ean.pl @@ -52,7 +52,6 @@ else { query => $query, type => 'intranet', flagsrequired => { acquisition => 'order_manage' }, - debug => 1, } ); $template->param( eans => \@eans ); diff --git a/acqui/edifactmsgs.pl b/acqui/edifactmsgs.pl index 1f303f99bf..8e603bb9fd 100755 --- a/acqui/edifactmsgs.pl +++ b/acqui/edifactmsgs.pl @@ -33,7 +33,6 @@ my ( $template, $loggedinuser, $cookie, $userflags ) = get_template_and_user( query => $q, type => 'intranet', flagsrequired => { acquisition => 'edi_manage' }, - debug => 1, } ); diff --git a/acqui/edimsg.pl b/acqui/edimsg.pl index d5b84d26d6..46206ea5f3 100755 --- a/acqui/edimsg.pl +++ b/acqui/edimsg.pl @@ -31,7 +31,6 @@ my ( $template, $loggedinuser, $cookie, $userflags ) = get_template_and_user( query => $q, type => 'intranet', flagsrequired => { acquisition => 'edi_manage' }, - debug => 1, } ); my $msg_id = $q->param('id'); diff --git a/acqui/histsearch.pl b/acqui/histsearch.pl index de42d4222f..77ea884ac0 100755 --- a/acqui/histsearch.pl +++ b/acqui/histsearch.pl @@ -69,7 +69,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { acquisition => '*' }, - debug => 1, } ); diff --git a/acqui/invoice-files.pl b/acqui/invoice-files.pl index d80ee02d7e..a470c9f53a 100755 --- a/acqui/invoice-files.pl +++ b/acqui/invoice-files.pl @@ -42,7 +42,6 @@ my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( query => $input, type => 'intranet', flagsrequired => { 'acquisition' => '*' }, - debug => 1, } ); diff --git a/acqui/invoice.pl b/acqui/invoice.pl index 669dd26a96..dfc4ab4d53 100755 --- a/acqui/invoice.pl +++ b/acqui/invoice.pl @@ -47,7 +47,6 @@ my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( query => $input, type => 'intranet', flagsrequired => { 'acquisition' => '*' }, - debug => 1, } ); diff --git a/acqui/invoices.pl b/acqui/invoices.pl index 85e066094d..42e6328cca 100755 --- a/acqui/invoices.pl +++ b/acqui/invoices.pl @@ -44,7 +44,6 @@ my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( query => $input, type => 'intranet', flagsrequired => { 'acquisition' => '*' }, - debug => 1, } ); diff --git a/acqui/lateorders.pl b/acqui/lateorders.pl index be12b3253b..67354b2a14 100755 --- a/acqui/lateorders.pl +++ b/acqui/lateorders.pl @@ -62,7 +62,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { acquisition => 'order_receive' }, - debug => 1, } ); diff --git a/acqui/modordernotes.pl b/acqui/modordernotes.pl index ab7817eb70..f529d4b782 100755 --- a/acqui/modordernotes.pl +++ b/acqui/modordernotes.pl @@ -41,7 +41,6 @@ my ($template, $loggedinuser, $cookie, $flags) = get_template_and_user( { query => $input, type => 'intranet', flagsrequired => { 'acquisition' => '*' }, - debug => 1, } ); my $op = $input->param('op'); diff --git a/acqui/neworderempty.pl b/acqui/neworderempty.pl index 4a6a07f32b..0949fe0a34 100755 --- a/acqui/neworderempty.pl +++ b/acqui/neworderempty.pl @@ -116,7 +116,6 @@ our ( $template, $loggedinuser, $cookie, $userflags ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { acquisition => 'order_manage' }, - debug => 1, } ); @@ -591,7 +590,6 @@ sub Load_Duplicate { query => $input, type => "intranet", flagsrequired => { acquisition => 'order_manage' }, -# debug => 1, } ); diff --git a/acqui/ordered.pl b/acqui/ordered.pl index 7f17310532..0f4e8c6519 100755 --- a/acqui/ordered.pl +++ b/acqui/ordered.pl @@ -46,7 +46,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { acquisition => '*' }, - debug => 1, } ); diff --git a/acqui/orderreceive.pl b/acqui/orderreceive.pl index 9d9028c64f..177b17023d 100755 --- a/acqui/orderreceive.pl +++ b/acqui/orderreceive.pl @@ -97,7 +97,6 @@ my ( $template, $loggedinuser, $cookie, $userflags ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => {acquisition => 'order_receive'}, - debug => 1, } ); diff --git a/acqui/parcel.pl b/acqui/parcel.pl index 1e42ed9174..90ccbe0006 100755 --- a/acqui/parcel.pl +++ b/acqui/parcel.pl @@ -81,7 +81,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {acquisition => 'order_receive'}, - debug => 1, }); my $op = $input->param('op') // ''; diff --git a/acqui/parcels.pl b/acqui/parcels.pl index 139cc0bb2e..e5d4330a31 100755 --- a/acqui/parcels.pl +++ b/acqui/parcels.pl @@ -93,7 +93,6 @@ our ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( query => $input, type => 'intranet', flagsrequired => { acquisition => 'order_receive' }, - debug => 1, } ); diff --git a/acqui/spent.pl b/acqui/spent.pl index f90671b3eb..b865648c55 100755 --- a/acqui/spent.pl +++ b/acqui/spent.pl @@ -48,7 +48,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { acquisition => '*' }, - debug => 1, } ); diff --git a/acqui/supplier.pl b/acqui/supplier.pl index 18e9b705dd..63d0b33af9 100755 --- a/acqui/supplier.pl +++ b/acqui/supplier.pl @@ -60,7 +60,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => 'intranet', flagsrequired => { acquisition => '*' }, - debug => 1, } ); my $booksellerid = $query->param('booksellerid'); diff --git a/acqui/uncertainprice.pl b/acqui/uncertainprice.pl index 82b98b2d3d..2ee68afdc5 100755 --- a/acqui/uncertainprice.pl +++ b/acqui/uncertainprice.pl @@ -62,7 +62,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => { acquisition => 'order_manage' }, - debug => 1, }); my $booksellerid = $input->param('booksellerid'); diff --git a/admin/additional-fields.pl b/admin/additional-fields.pl index e124878dd5..082854a3d4 100755 --- a/admin/additional-fields.pl +++ b/admin/additional-fields.pl @@ -42,7 +42,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => \%flagsrequired, - debug => 1, } ); diff --git a/admin/admin-home.pl b/admin/admin-home.pl index 23c92f3b4c..9a076b0512 100755 --- a/admin/admin-home.pl +++ b/admin/admin-home.pl @@ -33,7 +33,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => "intranet", flagsrequired => { parameters => '*' }, - debug => 1, } ); diff --git a/admin/adveditorshortcuts.pl b/admin/adveditorshortcuts.pl index 5910d3fd86..4b78a8676f 100755 --- a/admin/adveditorshortcuts.pl +++ b/admin/adveditorshortcuts.pl @@ -51,7 +51,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { parameters => 'manage_keyboard_shortcuts' }, - debug => 1, } ); diff --git a/admin/aqbudgetperiods.pl b/admin/aqbudgetperiods.pl index c96170dddf..626e006660 100755 --- a/admin/aqbudgetperiods.pl +++ b/admin/aqbudgetperiods.pl @@ -83,7 +83,6 @@ my ($template, $borrowernumber, $cookie, $staff_flags ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { acquisition => 'period_manage' }, - debug => 1, } ); diff --git a/admin/aqbudgets.pl b/admin/aqbudgets.pl index 16f62c5e79..c531b972ab 100755 --- a/admin/aqbudgets.pl +++ b/admin/aqbudgets.pl @@ -44,7 +44,6 @@ my ($template, $borrowernumber, $cookie, $staffflags ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { acquisition => 'budget_manage' }, - debug => 0, } ); diff --git a/admin/aqcontract.pl b/admin/aqcontract.pl index 9bd4d47481..891608732e 100755 --- a/admin/aqcontract.pl +++ b/admin/aqcontract.pl @@ -42,7 +42,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { acquisition => 'contracts_manage' }, - debug => 1, } ); diff --git a/admin/aqplan.pl b/admin/aqplan.pl index 5c85b7d7e0..bff2c46119 100755 --- a/admin/aqplan.pl +++ b/admin/aqplan.pl @@ -46,7 +46,6 @@ my ( $template, $borrowernumber, $cookie, $staff_flags ) = get_template_and_user query => $input, type => "intranet", flagsrequired => { acquisition => 'planning_manage' }, - debug => 0, } ); diff --git a/admin/audio_alerts.pl b/admin/audio_alerts.pl index 793d2d1eea..4f8de64ced 100755 --- a/admin/audio_alerts.pl +++ b/admin/audio_alerts.pl @@ -40,7 +40,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $cgi, type => "intranet", flagsrequired => { parameters => 'manage_audio_alerts' }, - debug => 1, } ); diff --git a/admin/auth_subfields_structure.pl b/admin/auth_subfields_structure.pl index 817bf59d09..fcb419eed5 100755 --- a/admin/auth_subfields_structure.pl +++ b/admin/auth_subfields_structure.pl @@ -42,7 +42,6 @@ my ($template, $borrowernumber, $cookie) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { parameters => 'manage_marc_frameworks' }, - debug => 1, } ); my $pagesize = 30; diff --git a/admin/auth_tag_structure.pl b/admin/auth_tag_structure.pl index a034d6fbbf..8a9ab47a2a 100755 --- a/admin/auth_tag_structure.pl +++ b/admin/auth_tag_structure.pl @@ -50,7 +50,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {parameters => 'manage_marc_frameworks'}, - debug => 1, }); my $authority_types = Koha::Authority::Types->search( {}, { order_by => ['authtypecode'] } ); diff --git a/admin/authorised_values.pl b/admin/authorised_values.pl index 62cabcc1b3..cb5988021d 100755 --- a/admin/authorised_values.pl +++ b/admin/authorised_values.pl @@ -44,7 +44,6 @@ our ($template, $borrowernumber, $cookie)= get_template_and_user({ flagsrequired => {parameters => 'manage_auth_values'}, query => $input, type => "intranet", - debug => 1, }); ################## ADD_FORM ################################## diff --git a/admin/authtypes.pl b/admin/authtypes.pl index 4d032cfc03..3b2f86453f 100755 --- a/admin/authtypes.pl +++ b/admin/authtypes.pl @@ -37,7 +37,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { parameters => 'manage_marc_frameworks' }, - debug => 1, } ); diff --git a/admin/background_jobs.pl b/admin/background_jobs.pl index 1835e831e4..413bb2e225 100755 --- a/admin/background_jobs.pl +++ b/admin/background_jobs.pl @@ -40,7 +40,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => $flags_required, - debug => 1, } ); diff --git a/admin/biblio_framework.pl b/admin/biblio_framework.pl index 20e40ef3b7..0d8a6a4b0b 100755 --- a/admin/biblio_framework.pl +++ b/admin/biblio_framework.pl @@ -39,7 +39,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { parameters => 'manage_marc_frameworks' }, - debug => 1, } ); diff --git a/admin/branch_transfer_limits.pl b/admin/branch_transfer_limits.pl index 94a348e120..455c04ad27 100755 --- a/admin/branch_transfer_limits.pl +++ b/admin/branch_transfer_limits.pl @@ -34,7 +34,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {parameters => 'manage_transfers'}, - debug => 1, }); my $dbh = C4::Context->dbh; diff --git a/admin/branches.pl b/admin/branches.pl index 9bcb379178..282c547afe 100755 --- a/admin/branches.pl +++ b/admin/branches.pl @@ -45,7 +45,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { parameters => 'manage_libraries' }, - debug => 1, } ); diff --git a/admin/categories.pl b/admin/categories.pl index afc2950468..d8d8513b91 100755 --- a/admin/categories.pl +++ b/admin/categories.pl @@ -43,7 +43,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { parameters => 'manage_patron_categories' }, - debug => 1, } ); diff --git a/admin/check_budget_parent.pl b/admin/check_budget_parent.pl index a80c55d103..1c98bd2095 100755 --- a/admin/check_budget_parent.pl +++ b/admin/check_budget_parent.pl @@ -40,7 +40,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => "acqui/ajax.tt", query => $input, type => "intranet", - debug => 0, } ); diff --git a/admin/check_parent_total.pl b/admin/check_parent_total.pl index 49d4ba7be8..fbd79b2299 100755 --- a/admin/check_parent_total.pl +++ b/admin/check_parent_total.pl @@ -46,7 +46,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => "acqui/ajax.tt", query => $input, type => "intranet", - debug => 0, } ); my ($period, $parent , $budget); diff --git a/admin/checkmarc.pl b/admin/checkmarc.pl index d492374184..126e90fdff 100755 --- a/admin/checkmarc.pl +++ b/admin/checkmarc.pl @@ -33,7 +33,6 @@ my ($template, $borrowernumber, $cookie) query => $input, type => "intranet", flagsrequired => { parameters => 'manage_marc_frameworks' }, - debug => 1, }); my $dbh = C4::Context->dbh; diff --git a/admin/cities.pl b/admin/cities.pl index eda3dc1d06..c7b03b0271 100755 --- a/admin/cities.pl +++ b/admin/cities.pl @@ -37,7 +37,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { parameters => 'manage_cities' }, - debug => 1, } ); diff --git a/admin/classsources.pl b/admin/classsources.pl index 02b3e0e449..cbaf449926 100755 --- a/admin/classsources.pl +++ b/admin/classsources.pl @@ -50,7 +50,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { parameters => 'manage_classifications' }, - debug => 1, } ); diff --git a/admin/clone-rules.pl b/admin/clone-rules.pl index 7592c4da60..b2c3ddb960 100755 --- a/admin/clone-rules.pl +++ b/admin/clone-rules.pl @@ -41,7 +41,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {parameters => 'manage_circ_rules'}, - debug => 1, }); my $frombranch = $input->param("frombranch"); diff --git a/admin/columns_settings.pl b/admin/columns_settings.pl index 2c185f8e7e..3d9d68e140 100755 --- a/admin/columns_settings.pl +++ b/admin/columns_settings.pl @@ -14,7 +14,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { parameters => 'manage_column_config' }, - debug => 1, } ); diff --git a/admin/credit_types.pl b/admin/credit_types.pl index 48ec9b49d4..afbe72a82e 100755 --- a/admin/credit_types.pl +++ b/admin/credit_types.pl @@ -39,7 +39,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { parameters => 'manage_accounts' }, - debug => 1, } ); diff --git a/admin/debit_types.pl b/admin/debit_types.pl index 7d0f6e840f..887e1e8728 100755 --- a/admin/debit_types.pl +++ b/admin/debit_types.pl @@ -39,7 +39,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { parameters => 'manage_accounts' }, - debug => 1, } ); diff --git a/admin/desks.pl b/admin/desks.pl index 352ff8ba50..e401902084 100755 --- a/admin/desks.pl +++ b/admin/desks.pl @@ -38,7 +38,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( type => "intranet", authnotrequired => 0, flagsrequired => { parameters => 'manage_libraries' }, - debug => 1, } ); diff --git a/admin/didyoumean.pl b/admin/didyoumean.pl index 9ac72dd51e..9cafc13f77 100755 --- a/admin/didyoumean.pl +++ b/admin/didyoumean.pl @@ -16,7 +16,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {parameters => 'manage_didyoumean'}, - debug => 1, }); my $opacplugins = from_json(C4::Context->preference('OPACdidyoumean') || '[]'); diff --git a/admin/itemtypes.pl b/admin/itemtypes.pl index 48e80f79dd..2370de93e1 100755 --- a/admin/itemtypes.pl +++ b/admin/itemtypes.pl @@ -46,7 +46,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { parameters => 'manage_itemtypes' }, - debug => 1, } ); diff --git a/admin/koha2marclinks.pl b/admin/koha2marclinks.pl index 5c679b885c..842364dadb 100755 --- a/admin/koha2marclinks.pl +++ b/admin/koha2marclinks.pl @@ -37,7 +37,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user ( query => $input, type => "intranet", flagsrequired => { parameters => 'manage_marc_frameworks' }, - debug => 1, } ); diff --git a/admin/library_groups.pl b/admin/library_groups.pl index ec7064504d..cf561c863b 100755 --- a/admin/library_groups.pl +++ b/admin/library_groups.pl @@ -35,7 +35,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $cgi, type => "intranet", flagsrequired => { parameters => 'manage_libraries' }, - debug => 1, } ); diff --git a/admin/localization.pl b/admin/localization.pl index 81272d8c90..3c296c6fc7 100755 --- a/admin/localization.pl +++ b/admin/localization.pl @@ -33,7 +33,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( flagsrequired => { parameters => 'manage_itemtypes' }, query => $query, type => "intranet", - debug => 1, } ); diff --git a/admin/marc_subfields_structure.pl b/admin/marc_subfields_structure.pl index 908b77d13b..7ee7e269b2 100755 --- a/admin/marc_subfields_structure.pl +++ b/admin/marc_subfields_structure.pl @@ -44,7 +44,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { parameters => 'manage_marc_frameworks' }, - debug => 1, } ); my $cache = Koha::Caches->get_instance(); diff --git a/admin/marctagstructure.pl b/admin/marctagstructure.pl index 634ea5e985..573abbca7c 100755 --- a/admin/marctagstructure.pl +++ b/admin/marctagstructure.pl @@ -53,7 +53,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => { parameters => 'manage_marc_frameworks' }, - debug => 1, }); my $frameworks = Koha::BiblioFrameworks->search({}, { order_by => ['frameworktext'] }); diff --git a/admin/matching-rules.pl b/admin/matching-rules.pl index eb308dde4a..5241b2bab5 100755 --- a/admin/matching-rules.pl +++ b/admin/matching-rules.pl @@ -38,7 +38,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => { parameters => 'manage_matching_rules' }, - debug => 1, }); $template->param(script_name => $script_name); diff --git a/admin/oai_set_mappings.pl b/admin/oai_set_mappings.pl index d322494f5c..e8b8b7eafa 100755 --- a/admin/oai_set_mappings.pl +++ b/admin/oai_set_mappings.pl @@ -45,7 +45,6 @@ my ($template, $loggedinuser, $cookie, $flags) = get_template_and_user( { query => $input, type => 'intranet', flagsrequired => { 'parameters' => 'manage_oai_sets' }, - debug => 1, } ); my $id = $input->param('id'); diff --git a/admin/oai_sets.pl b/admin/oai_sets.pl index 5f241856d1..2d5aa50883 100755 --- a/admin/oai_sets.pl +++ b/admin/oai_sets.pl @@ -41,7 +41,6 @@ my ($template, $loggedinuser, $cookie, $flags) = get_template_and_user( { query => $input, type => 'intranet', flagsrequired => { 'parameters' => 'manage_oai_sets' }, - debug => 1, } ); my $op = $input->param('op'); diff --git a/admin/preferences.pl b/admin/preferences.pl index 20f9f6f4cd..f3879d7cb9 100755 --- a/admin/preferences.pl +++ b/admin/preferences.pl @@ -334,7 +334,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { parameters => 'manage_sysprefs' }, - debug => 1, } ); diff --git a/admin/share_content.pl b/admin/share_content.pl index 0996f16c07..b4c7e0bc6d 100755 --- a/admin/share_content.pl +++ b/admin/share_content.pl @@ -33,7 +33,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => "intranet", flagsrequired => { parameters => 'manage_mana' }, - debug => 1, } ); diff --git a/admin/smart-rules.pl b/admin/smart-rules.pl index b1fa57b4da..844e774495 100755 --- a/admin/smart-rules.pl +++ b/admin/smart-rules.pl @@ -43,7 +43,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {parameters => 'manage_circ_rules'}, - debug => 1, }); my $type=$input->param('type'); diff --git a/admin/sms_providers.pl b/admin/sms_providers.pl index 7c39c30c35..ea02f152bb 100755 --- a/admin/sms_providers.pl +++ b/admin/sms_providers.pl @@ -36,7 +36,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $cgi, type => "intranet", flagsrequired => { parameters => 'manage_sms_providers' }, - debug => 1, } ); diff --git a/admin/systempreferences.pl b/admin/systempreferences.pl index 160b6fdbaa..e2e690c6f0 100755 --- a/admin/systempreferences.pl +++ b/admin/systempreferences.pl @@ -216,7 +216,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { parameters => 'manage_sysprefs' }, - debug => 1, } ); my $pagesize = 100; diff --git a/admin/transfer_limits.pl b/admin/transfer_limits.pl index 2bca55f4f3..8c67bdaab2 100755 --- a/admin/transfer_limits.pl +++ b/admin/transfer_limits.pl @@ -35,7 +35,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { parameters => 'manage_transfers' }, - debug => 1, } ); diff --git a/admin/transport-cost-matrix.pl b/admin/transport-cost-matrix.pl index e28ee89b79..d1ca706c32 100755 --- a/admin/transport-cost-matrix.pl +++ b/admin/transport-cost-matrix.pl @@ -37,7 +37,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => { parameters => 'manage_transfers' }, - debug => 1, }); my $use_transport_cost_matrix = C4::Context->preference("UseTransportCostMatrix"); diff --git a/admin/usage_statistics.pl b/admin/usage_statistics.pl index cc22948229..635704fab3 100755 --- a/admin/usage_statistics.pl +++ b/admin/usage_statistics.pl @@ -30,7 +30,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => "intranet", flagsrequired => { parameters => 'manage_usage_stats' }, - debug => 1, } ); diff --git a/admin/z3950servers.pl b/admin/z3950servers.pl index 89c41d5034..54b85d9715 100755 --- a/admin/z3950servers.pl +++ b/admin/z3950servers.pl @@ -45,7 +45,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { query => $input, type => "intranet", flagsrequired => { parameters => 'manage_search_targets' }, - debug => 1, }); my $script_name = "/cgi-bin/koha/admin/z3950servers.pl"; $template->param( script_name => $script_name ); diff --git a/authorities/authorities-home.pl b/authorities/authorities-home.pl index 66083d3285..691528215d 100755 --- a/authorities/authorities-home.pl +++ b/authorities/authorities-home.pl @@ -55,7 +55,6 @@ if ( $op eq "delete" ) { query => $query, type => 'intranet', flagsrequired => { catalogue => 1 }, - debug => 1, } ); @@ -105,7 +104,6 @@ if ( $op eq "do_search" ) { query => $query, type => 'intranet', flagsrequired => { catalogue => 1 }, - debug => 1, } ); @@ -203,7 +201,6 @@ if ( $op eq '' ) { query => $query, type => 'intranet', flagsrequired => { catalogue => 1 }, - debug => 1, } ); diff --git a/authorities/authorities.pl b/authorities/authorities.pl index 3dd39f4e7f..4e0ecb555f 100755 --- a/authorities/authorities.pl +++ b/authorities/authorities.pl @@ -581,7 +581,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {editauthorities => 1}, - debug => 1, }); $template->param(nonav => $nonav,index=>$myindex,authtypecode=>$authtypecode,breedingid=>$breedingid); diff --git a/authorities/detail-biblio-search.pl b/authorities/detail-biblio-search.pl index e2ba88b4db..66bf8ce2fe 100755 --- a/authorities/detail-biblio-search.pl +++ b/authorities/detail-biblio-search.pl @@ -68,7 +68,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user( query => $query, type => "intranet", flagsrequired => { catalogue => 1 }, - debug => 1, } ); diff --git a/authorities/detail.pl b/authorities/detail.pl index 6d8cb14ee1..be86a811d4 100755 --- a/authorities/detail.pl +++ b/authorities/detail.pl @@ -175,7 +175,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user( query => $query, type => "intranet", flagsrequired => { catalogue => 1 }, - debug => 1, } ); diff --git a/authorities/export.pl b/authorities/export.pl index ee21e1e14e..b55ee7ddab 100755 --- a/authorities/export.pl +++ b/authorities/export.pl @@ -14,7 +14,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => "intranet", flagsrequired => { catalogue => 1 }, - debug => 1, } ); diff --git a/catalogue/MARCdetail.pl b/catalogue/MARCdetail.pl index 97ce943a2f..e275077ac2 100755 --- a/catalogue/MARCdetail.pl +++ b/catalogue/MARCdetail.pl @@ -83,7 +83,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => "intranet", flagsrequired => { catalogue => 1 }, - debug => 1, } ); diff --git a/catalogue/export.pl b/catalogue/export.pl index f12cd57c53..cb6f2d8129 100755 --- a/catalogue/export.pl +++ b/catalogue/export.pl @@ -16,7 +16,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user({ query => $query, type => "intranet", flagsrequired => { catalogue => 1 }, - debug => 1, }); my $op=$query->param("op"); diff --git a/catalogue/labeledMARCdetail.pl b/catalogue/labeledMARCdetail.pl index 47ce79024d..643d091dd0 100755 --- a/catalogue/labeledMARCdetail.pl +++ b/catalogue/labeledMARCdetail.pl @@ -50,7 +50,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => "intranet", flagsrequired => { catalogue => 1 }, - debug => 1, } ); diff --git a/catalogue/showmarc.pl b/catalogue/showmarc.pl index 0c252c1229..7633b5f6bd 100755 --- a/catalogue/showmarc.pl +++ b/catalogue/showmarc.pl @@ -42,7 +42,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { catalogue => 1 }, - debug => 1, } ); diff --git a/cataloguing/addbooks.pl b/cataloguing/addbooks.pl index 69a573186e..53313bb5f7 100755 --- a/cataloguing/addbooks.pl +++ b/cataloguing/addbooks.pl @@ -57,7 +57,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { editcatalogue => '*' }, - debug => 1, } ); diff --git a/cataloguing/additem.pl b/cataloguing/additem.pl index 870f767e8b..b1e0357398 100755 --- a/cataloguing/additem.pl +++ b/cataloguing/additem.pl @@ -430,7 +430,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {editcatalogue => $userflags}, - debug => 1, }); diff --git a/cataloguing/linkitem.pl b/cataloguing/linkitem.pl index 72e25e622e..aaa4f1d14a 100755 --- a/cataloguing/linkitem.pl +++ b/cataloguing/linkitem.pl @@ -41,7 +41,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user( query => $query, type => "intranet", flagsrequired => { editcatalogue => 'edit_catalogue' }, - debug => 1, } ); diff --git a/cataloguing/moveitem.pl b/cataloguing/moveitem.pl index c5e6bca981..c0d46413a3 100755 --- a/cataloguing/moveitem.pl +++ b/cataloguing/moveitem.pl @@ -53,7 +53,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user( query => $query, type => "intranet", flagsrequired => { editcatalogue => 'edit_items' }, - debug => 1, } ); diff --git a/cataloguing/value_builder/callnumber-KU.pl b/cataloguing/value_builder/callnumber-KU.pl index d7a9278203..09f733fc6f 100755 --- a/cataloguing/value_builder/callnumber-KU.pl +++ b/cataloguing/value_builder/callnumber-KU.pl @@ -71,7 +71,6 @@ my $launcher = sub { query => $input, type => "intranet", flagsrequired => {editcatalogue => '*'}, - debug => 1, }); my $BASE_CALLNUMBER_RE = qr/^(\w+) (\w+)$/; diff --git a/cataloguing/value_builder/callnumber.pl b/cataloguing/value_builder/callnumber.pl index dd274129b9..fd3b068e28 100755 --- a/cataloguing/value_builder/callnumber.pl +++ b/cataloguing/value_builder/callnumber.pl @@ -69,7 +69,6 @@ my $launcher = sub { query => $input, type => "intranet", flagsrequired => {editcatalogue => '*'}, - debug => 1, }); my $dbh = C4::Context->dbh; diff --git a/cataloguing/value_builder/macles.pl b/cataloguing/value_builder/macles.pl index 071a29e805..ea769fa8e3 100755 --- a/cataloguing/value_builder/macles.pl +++ b/cataloguing/value_builder/macles.pl @@ -161,7 +161,6 @@ my $launcher = sub { query => $input, type => "intranet", flagsrequired => {editcatalogue => '*'}, - debug => 1, }); $template->param(BIGLOOP=>\@BIGLOOP); $template->param("index"=>$index); diff --git a/cataloguing/value_builder/marc21_field_006.pl b/cataloguing/value_builder/marc21_field_006.pl index 65c8c8032f..4ff1c9a538 100755 --- a/cataloguing/value_builder/marc21_field_006.pl +++ b/cataloguing/value_builder/marc21_field_006.pl @@ -59,7 +59,6 @@ my $launcher = sub { query => $input, type => "intranet", flagsrequired => { editcatalogue => '*' }, - debug => 1, } ); $result = "a|||||r|||| 00| 0 " unless $result; diff --git a/cataloguing/value_builder/marc21_field_007.pl b/cataloguing/value_builder/marc21_field_007.pl index f06dd8b260..ee7a91a699 100755 --- a/cataloguing/value_builder/marc21_field_007.pl +++ b/cataloguing/value_builder/marc21_field_007.pl @@ -58,7 +58,6 @@ my $launcher = sub { query => $input, type => "intranet", flagsrequired => { editcatalogue => '*' }, - debug => 1, } ); diff --git a/cataloguing/value_builder/marc21_field_008.pl b/cataloguing/value_builder/marc21_field_008.pl index 0951e10a6a..78961f4ced 100755 --- a/cataloguing/value_builder/marc21_field_008.pl +++ b/cataloguing/value_builder/marc21_field_008.pl @@ -139,7 +139,6 @@ my $launcher = sub { query => $input, type => "intranet", flagsrequired => { editcatalogue => '*' }, - debug => 1, } ); diff --git a/cataloguing/value_builder/marc21_field_008_authorities.pl b/cataloguing/value_builder/marc21_field_008_authorities.pl index 1047faca47..414d9ff688 100755 --- a/cataloguing/value_builder/marc21_field_008_authorities.pl +++ b/cataloguing/value_builder/marc21_field_008_authorities.pl @@ -80,7 +80,6 @@ my $launcher = sub { query => $input, type => "intranet", flagsrequired => {editcatalogue => '*'}, - debug => 1, }); my $dateentered = date_entered(); $result = "$dateentered$defaultval" unless $result; diff --git a/cataloguing/value_builder/marc21_field_008_classifications.pl b/cataloguing/value_builder/marc21_field_008_classifications.pl index d864f87459..9a19584542 100755 --- a/cataloguing/value_builder/marc21_field_008_classifications.pl +++ b/cataloguing/value_builder/marc21_field_008_classifications.pl @@ -69,7 +69,6 @@ my $launcher = sub { query => $input, type => "intranet", flagsrequired => { editcatalogue => '*' }, - debug => 1, }); my $dateentered = date_entered(); $result = "$dateentered$defaultval" unless $result; diff --git a/cataloguing/value_builder/marc21_leader.pl b/cataloguing/value_builder/marc21_leader.pl index 4a176e0d11..659bb9aeee 100755 --- a/cataloguing/value_builder/marc21_leader.pl +++ b/cataloguing/value_builder/marc21_leader.pl @@ -62,7 +62,6 @@ my $launcher = sub { query => $input, type => "intranet", flagsrequired => { editcatalogue => '*' }, - debug => 1, } ); $result = " nam a22 7a 4500" unless $result; diff --git a/cataloguing/value_builder/marc21_leader_authorities.pl b/cataloguing/value_builder/marc21_leader_authorities.pl index 03d76eed21..5bd0348e4d 100755 --- a/cataloguing/value_builder/marc21_leader_authorities.pl +++ b/cataloguing/value_builder/marc21_leader_authorities.pl @@ -65,7 +65,6 @@ my $launcher = sub { query => $input, type => "intranet", flagsrequired => { editcatalogue => '*' }, - debug => 1, } ); $result = " nz a22 n 4500" unless $result; diff --git a/cataloguing/value_builder/marc21_linking_section.pl b/cataloguing/value_builder/marc21_linking_section.pl index 905dd102ab..adc520ee2b 100755 --- a/cataloguing/value_builder/marc21_linking_section.pl +++ b/cataloguing/value_builder/marc21_linking_section.pl @@ -79,7 +79,6 @@ my $launcher = sub { query => $query, type => "intranet", flagsrequired => { editcatalogue => '*' }, - debug => 1, } ); @@ -191,7 +190,6 @@ my $launcher = sub { { template_name => "cataloguing/value_builder/marc21_linking_section.tt", query => $query, type => 'intranet', - debug => 1, } ); diff --git a/cataloguing/value_builder/normarc_field_007.pl b/cataloguing/value_builder/normarc_field_007.pl index 89051a2356..e2e5bc60de 100755 --- a/cataloguing/value_builder/normarc_field_007.pl +++ b/cataloguing/value_builder/normarc_field_007.pl @@ -54,7 +54,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {editcatalogue => 1}, - debug => 1, }); $result = "ta" unless $result; my $f0 = substr($result,0,1); diff --git a/cataloguing/value_builder/normarc_field_008.pl b/cataloguing/value_builder/normarc_field_008.pl index 0f0bfb9a1a..de487bd743 100755 --- a/cataloguing/value_builder/normarc_field_008.pl +++ b/cataloguing/value_builder/normarc_field_008.pl @@ -78,7 +78,6 @@ sub plugin { query => $input, type => "intranet", flagsrequired => { editcatalogue => 1 }, - debug => 1, } ); diff --git a/cataloguing/value_builder/normarc_leader.pl b/cataloguing/value_builder/normarc_leader.pl index 7a07aac284..8314d637ea 100755 --- a/cataloguing/value_builder/normarc_leader.pl +++ b/cataloguing/value_builder/normarc_leader.pl @@ -63,7 +63,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {editcatalogue => 1}, - debug => 1, }); $result = " nam a22 1 4500" unless $result; my $f5 = substr($result,5,1); diff --git a/cataloguing/value_builder/stocknumberAV.pl b/cataloguing/value_builder/stocknumberAV.pl index 0f75449677..850fbe849d 100755 --- a/cataloguing/value_builder/stocknumberAV.pl +++ b/cataloguing/value_builder/stocknumberAV.pl @@ -79,7 +79,6 @@ my $launcher = sub { query => $input, type => "intranet", flagsrequired => { editcatalogue => '*' }, - debug => 1, } ); diff --git a/cataloguing/value_builder/stocknumberam123.pl b/cataloguing/value_builder/stocknumberam123.pl index a69506eaf1..be36fe2072 100755 --- a/cataloguing/value_builder/stocknumberam123.pl +++ b/cataloguing/value_builder/stocknumberam123.pl @@ -70,7 +70,6 @@ my $launcher = sub { query => $input, type => "intranet", flagsrequired => {editcatalogue => '*'}, - debug => 1, }); my $dbh = C4::Context->dbh; diff --git a/cataloguing/value_builder/unimarc_field_010.pl b/cataloguing/value_builder/unimarc_field_010.pl index 4994dc3418..73b7ff7fe9 100755 --- a/cataloguing/value_builder/unimarc_field_010.pl +++ b/cataloguing/value_builder/unimarc_field_010.pl @@ -61,7 +61,6 @@ sub plugin { query => $input, type => "intranet", flagsrequired => {editcatalogue => '*'}, - debug => 1, }); diff --git a/cataloguing/value_builder/unimarc_field_100.pl b/cataloguing/value_builder/unimarc_field_100.pl index 1fe873924a..e5d746a6ca 100755 --- a/cataloguing/value_builder/unimarc_field_100.pl +++ b/cataloguing/value_builder/unimarc_field_100.pl @@ -66,7 +66,6 @@ sub plugin { query => $input, type => "intranet", flagsrequired => { editcatalogue => '*' }, - debug => 1, } ); $result = " d u y0".$defaultlanguage."y50 ba" unless $result; diff --git a/cataloguing/value_builder/unimarc_field_100_authorities.pl b/cataloguing/value_builder/unimarc_field_100_authorities.pl index 13563548aa..4a0e588e52 100755 --- a/cataloguing/value_builder/unimarc_field_100_authorities.pl +++ b/cataloguing/value_builder/unimarc_field_100_authorities.pl @@ -63,7 +63,6 @@ sub plugin { query => $input, type => "intranet", flagsrequired => { editcatalogue => '*' }, - debug => 1, } ); $result = " a".$defaultlanguage."y50 ba0" unless $result; diff --git a/cataloguing/value_builder/unimarc_field_105.pl b/cataloguing/value_builder/unimarc_field_105.pl index 75b26d26a2..9e80cd06d5 100755 --- a/cataloguing/value_builder/unimarc_field_105.pl +++ b/cataloguing/value_builder/unimarc_field_105.pl @@ -57,7 +57,6 @@ sub plugin { query => $input, type => "intranet", flagsrequired => {editcatalogue => '*'}, - debug => 1, }); my $f1 = substr($result,0,1); $f1 = wrapper( $f1 ) if $f1; my $f2 = substr($result,1,1); $f2 = wrapper( $f2 ) if $f2; diff --git a/cataloguing/value_builder/unimarc_field_106.pl b/cataloguing/value_builder/unimarc_field_106.pl index f11a021a47..de4fb67b44 100755 --- a/cataloguing/value_builder/unimarc_field_106.pl +++ b/cataloguing/value_builder/unimarc_field_106.pl @@ -53,7 +53,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {editcatalogue => '*'}, - debug => 1, }); my $f1 = substr($result,0,1); $template->param(index => $index, diff --git a/cataloguing/value_builder/unimarc_field_110.pl b/cataloguing/value_builder/unimarc_field_110.pl index 68fad1379f..4e7287c250 100755 --- a/cataloguing/value_builder/unimarc_field_110.pl +++ b/cataloguing/value_builder/unimarc_field_110.pl @@ -56,7 +56,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {editcatalogue => '*'}, - debug => 1, }); my $f1 = substr($result,0,1); $f1 = wrapper( $f1 ) if $f1; my $f2 = substr($result,1,1); $f2 = wrapper( $f2 ) if $f2; diff --git a/cataloguing/value_builder/unimarc_field_115a.pl b/cataloguing/value_builder/unimarc_field_115a.pl index 746597f1f2..e052a1b820 100755 --- a/cataloguing/value_builder/unimarc_field_115a.pl +++ b/cataloguing/value_builder/unimarc_field_115a.pl @@ -63,7 +63,6 @@ sub plugin { query => $input, type => "intranet", flagsrequired => { editcatalogue => '*' }, - debug => 1, } ); my $f1 = substr( $result, 0, 1 ); $f1 = wrapper( $f1 ) if $f1; diff --git a/cataloguing/value_builder/unimarc_field_115b.pl b/cataloguing/value_builder/unimarc_field_115b.pl index e4d3379e4d..de5e68449a 100755 --- a/cataloguing/value_builder/unimarc_field_115b.pl +++ b/cataloguing/value_builder/unimarc_field_115b.pl @@ -57,7 +57,6 @@ sub plugin { query => $input, type => "intranet", flagsrequired => { editcatalogue => '*' }, - debug => 1, } ); my $f1 = substr( $result, 0, 1 ); $f1 = wrapper( $f1 ) if $f1; diff --git a/cataloguing/value_builder/unimarc_field_116.pl b/cataloguing/value_builder/unimarc_field_116.pl index ef083f6aac..ef6e5034ee 100755 --- a/cataloguing/value_builder/unimarc_field_116.pl +++ b/cataloguing/value_builder/unimarc_field_116.pl @@ -56,7 +56,6 @@ sub plugin { query => $input, type => "intranet", flagsrequired => { editcatalogue => '*' }, - debug => 1, } ); my $f1 = substr( $result, 0, 1 ); $f1 = wrapper( $f1 ) if $f1; diff --git a/cataloguing/value_builder/unimarc_field_117.pl b/cataloguing/value_builder/unimarc_field_117.pl index dcbeddfb31..3e5c01f10e 100755 --- a/cataloguing/value_builder/unimarc_field_117.pl +++ b/cataloguing/value_builder/unimarc_field_117.pl @@ -55,7 +55,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {editcatalogue => '*'}, - debug => 1, }); my $f1 = substr($result,0,2); $f1 = wrapper( $f1 ) if $f1; my $f2 = substr($result,2,2); $f2 = wrapper( $f2 ) if $f2; diff --git a/cataloguing/value_builder/unimarc_field_120.pl b/cataloguing/value_builder/unimarc_field_120.pl index 6ee6d0aa19..0c8157adbf 100755 --- a/cataloguing/value_builder/unimarc_field_120.pl +++ b/cataloguing/value_builder/unimarc_field_120.pl @@ -59,7 +59,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {editcatalogue => '*'}, - debug => 1, }); my $f1 = substr($result,0,1); my $f2 = substr($result,1,1); diff --git a/cataloguing/value_builder/unimarc_field_121a.pl b/cataloguing/value_builder/unimarc_field_121a.pl index 1ef29eb2ca..39a6b84611 100755 --- a/cataloguing/value_builder/unimarc_field_121a.pl +++ b/cataloguing/value_builder/unimarc_field_121a.pl @@ -58,7 +58,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {editcatalogue => '*'}, - debug => 1, }); my $f1 = substr($result,0,1); my $f2 = substr($result,1,1); $f2 = wrapper( $f2 ) if $f2; diff --git a/cataloguing/value_builder/unimarc_field_121b.pl b/cataloguing/value_builder/unimarc_field_121b.pl index acf8dd143b..7c3b6845ba 100755 --- a/cataloguing/value_builder/unimarc_field_121b.pl +++ b/cataloguing/value_builder/unimarc_field_121b.pl @@ -54,7 +54,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {editcatalogue => '*'}, - debug => 1, }); my $f1 = substr($result,0,1); my $f2 = substr($result,1,1); diff --git a/cataloguing/value_builder/unimarc_field_122.pl b/cataloguing/value_builder/unimarc_field_122.pl index 133411f7ae..d98b48824a 100755 --- a/cataloguing/value_builder/unimarc_field_122.pl +++ b/cataloguing/value_builder/unimarc_field_122.pl @@ -54,7 +54,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {editcatalogue => '*'}, - debug => 1, }); my $f1 = substr($result,0,1); my $f2 = substr($result,1,4); diff --git a/cataloguing/value_builder/unimarc_field_123a.pl b/cataloguing/value_builder/unimarc_field_123a.pl index 1b4d82ae70..f55b44e8b9 100755 --- a/cataloguing/value_builder/unimarc_field_123a.pl +++ b/cataloguing/value_builder/unimarc_field_123a.pl @@ -54,7 +54,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {editcatalogue => '*'}, - debug => 1, }); my $f1 = substr($result,0,1); $template->param(index => $index, diff --git a/cataloguing/value_builder/unimarc_field_123d.pl b/cataloguing/value_builder/unimarc_field_123d.pl index 2a23edcadf..c73698f1a6 100755 --- a/cataloguing/value_builder/unimarc_field_123d.pl +++ b/cataloguing/value_builder/unimarc_field_123d.pl @@ -55,7 +55,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {editcatalogue => '*'}, - debug => 1, }); my $f1 = substr($result,0,1); my $f2 = substr($result,1,3); diff --git a/cataloguing/value_builder/unimarc_field_123e.pl b/cataloguing/value_builder/unimarc_field_123e.pl index 2a23edcadf..c73698f1a6 100755 --- a/cataloguing/value_builder/unimarc_field_123e.pl +++ b/cataloguing/value_builder/unimarc_field_123e.pl @@ -55,7 +55,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {editcatalogue => '*'}, - debug => 1, }); my $f1 = substr($result,0,1); my $f2 = substr($result,1,3); diff --git a/cataloguing/value_builder/unimarc_field_123f.pl b/cataloguing/value_builder/unimarc_field_123f.pl index 9446d977d1..5e95c6be91 100755 --- a/cataloguing/value_builder/unimarc_field_123f.pl +++ b/cataloguing/value_builder/unimarc_field_123f.pl @@ -56,7 +56,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {editcatalogue => '*'}, - debug => 1, }); my $f1 = substr($result,0,1); my $f2 = substr($result,1,3); diff --git a/cataloguing/value_builder/unimarc_field_123g.pl b/cataloguing/value_builder/unimarc_field_123g.pl index 2a23edcadf..c73698f1a6 100755 --- a/cataloguing/value_builder/unimarc_field_123g.pl +++ b/cataloguing/value_builder/unimarc_field_123g.pl @@ -55,7 +55,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {editcatalogue => '*'}, - debug => 1, }); my $f1 = substr($result,0,1); my $f2 = substr($result,1,3); diff --git a/cataloguing/value_builder/unimarc_field_123i.pl b/cataloguing/value_builder/unimarc_field_123i.pl index 5e1203bbf1..3ad3e93fd5 100755 --- a/cataloguing/value_builder/unimarc_field_123i.pl +++ b/cataloguing/value_builder/unimarc_field_123i.pl @@ -55,7 +55,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {editcatalogue => '*'}, - debug => 1, }); my $f1 = substr($result,0,1); my $f2 = substr($result,1,3); diff --git a/cataloguing/value_builder/unimarc_field_123j.pl b/cataloguing/value_builder/unimarc_field_123j.pl index cdbdcf2150..e8379e81a8 100755 --- a/cataloguing/value_builder/unimarc_field_123j.pl +++ b/cataloguing/value_builder/unimarc_field_123j.pl @@ -58,7 +58,6 @@ sub plugin { query => $input, type => "intranet", flagsrequired => {editcatalogue => '*'}, - debug => 1, } ); my $f1 = substr($result,0,1); diff --git a/cataloguing/value_builder/unimarc_field_124.pl b/cataloguing/value_builder/unimarc_field_124.pl index f5bfe46af2..7ec1b474bf 100755 --- a/cataloguing/value_builder/unimarc_field_124.pl +++ b/cataloguing/value_builder/unimarc_field_124.pl @@ -55,7 +55,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {editcatalogue => '*'}, - debug => 1, }); my $f1 = substr($result,0,8); my $f2 = substr($result,8,1); diff --git a/cataloguing/value_builder/unimarc_field_124a.pl b/cataloguing/value_builder/unimarc_field_124a.pl index 43885a7f3a..1b4ac5abd6 100755 --- a/cataloguing/value_builder/unimarc_field_124a.pl +++ b/cataloguing/value_builder/unimarc_field_124a.pl @@ -56,7 +56,6 @@ my ($input) = @_; query => $input, type => "intranet", flagsrequired => { editcatalogue => '*' }, - debug => 1, } ); my $f1 = substr($result,0,1); diff --git a/cataloguing/value_builder/unimarc_field_124b.pl b/cataloguing/value_builder/unimarc_field_124b.pl index 8512632dcd..51424f111c 100755 --- a/cataloguing/value_builder/unimarc_field_124b.pl +++ b/cataloguing/value_builder/unimarc_field_124b.pl @@ -55,7 +55,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {editcatalogue => '*'}, - debug => 1, }); my $f1 = substr($result,0,1); $template->param(index => $index, diff --git a/cataloguing/value_builder/unimarc_field_124c.pl b/cataloguing/value_builder/unimarc_field_124c.pl index f56f64c8b5..b9df679e92 100755 --- a/cataloguing/value_builder/unimarc_field_124c.pl +++ b/cataloguing/value_builder/unimarc_field_124c.pl @@ -55,7 +55,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {editcatalogue => '*'}, - debug => 1, }); my $f1 = substr($result,0,1); $template->param(index => $index, diff --git a/cataloguing/value_builder/unimarc_field_124d.pl b/cataloguing/value_builder/unimarc_field_124d.pl index 5f60644c18..35cbcbef80 100755 --- a/cataloguing/value_builder/unimarc_field_124d.pl +++ b/cataloguing/value_builder/unimarc_field_124d.pl @@ -55,7 +55,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {editcatalogue => '*'}, - debug => 1, }); my $f1 = substr($result,0,1); $template->param(index => $index, diff --git a/cataloguing/value_builder/unimarc_field_124e.pl b/cataloguing/value_builder/unimarc_field_124e.pl index 51f7b68ca7..76e0e8314b 100755 --- a/cataloguing/value_builder/unimarc_field_124e.pl +++ b/cataloguing/value_builder/unimarc_field_124e.pl @@ -55,7 +55,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {editcatalogue => '*'}, - debug => 1, }); my $f1 = substr($result,0,1); $template->param(index => $index, diff --git a/cataloguing/value_builder/unimarc_field_124f.pl b/cataloguing/value_builder/unimarc_field_124f.pl index ff768c13a1..732b825bda 100755 --- a/cataloguing/value_builder/unimarc_field_124f.pl +++ b/cataloguing/value_builder/unimarc_field_124f.pl @@ -55,7 +55,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {editcatalogue => '*'}, - debug => 1, }); my $f1 = substr($result,0,2); $template->param(index => $index, diff --git a/cataloguing/value_builder/unimarc_field_124g.pl b/cataloguing/value_builder/unimarc_field_124g.pl index 68fcfd0f78..1262cdf033 100755 --- a/cataloguing/value_builder/unimarc_field_124g.pl +++ b/cataloguing/value_builder/unimarc_field_124g.pl @@ -55,7 +55,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {editcatalogue => '*'}, - debug => 1, }); my $f1 = substr($result,0,2); $template->param(index => $index, diff --git a/cataloguing/value_builder/unimarc_field_125.pl b/cataloguing/value_builder/unimarc_field_125.pl index 400a290f24..958c6600a6 100755 --- a/cataloguing/value_builder/unimarc_field_125.pl +++ b/cataloguing/value_builder/unimarc_field_125.pl @@ -61,7 +61,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {editcatalogue => '*'}, - debug => 1, }); my $f1 = substr($result,0,8); my $f2 = substr($result,8,1); diff --git a/cataloguing/value_builder/unimarc_field_125a.pl b/cataloguing/value_builder/unimarc_field_125a.pl index 67ae25df5a..9c6473534a 100755 --- a/cataloguing/value_builder/unimarc_field_125a.pl +++ b/cataloguing/value_builder/unimarc_field_125a.pl @@ -55,7 +55,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {editcatalogue => '*'}, - debug => 1, }); my $f1 = substr($result,0,1); my $f2 = substr($result,1,1); diff --git a/cataloguing/value_builder/unimarc_field_125b.pl b/cataloguing/value_builder/unimarc_field_125b.pl index b8e36d9cc1..8c19929bcc 100755 --- a/cataloguing/value_builder/unimarc_field_125b.pl +++ b/cataloguing/value_builder/unimarc_field_125b.pl @@ -58,7 +58,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {editcatalogue => '*'}, - debug => 1, }); my $f1 = substr($result,0,1); $f1 = wrapper( $f1 ) if $f1; $template->param(index => $index, diff --git a/cataloguing/value_builder/unimarc_field_126.pl b/cataloguing/value_builder/unimarc_field_126.pl index f5bfe46af2..7ec1b474bf 100755 --- a/cataloguing/value_builder/unimarc_field_126.pl +++ b/cataloguing/value_builder/unimarc_field_126.pl @@ -55,7 +55,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {editcatalogue => '*'}, - debug => 1, }); my $f1 = substr($result,0,8); my $f2 = substr($result,8,1); diff --git a/cataloguing/value_builder/unimarc_field_126a.pl b/cataloguing/value_builder/unimarc_field_126a.pl index b0e737d910..38c8827e67 100755 --- a/cataloguing/value_builder/unimarc_field_126a.pl +++ b/cataloguing/value_builder/unimarc_field_126a.pl @@ -58,7 +58,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {editcatalogue => '*'}, - debug => 1, }); my $f1 = substr($result,0,1); my $f2 = substr($result,1,1); diff --git a/cataloguing/value_builder/unimarc_field_126b.pl b/cataloguing/value_builder/unimarc_field_126b.pl index d9704624de..b9c8709a5a 100755 --- a/cataloguing/value_builder/unimarc_field_126b.pl +++ b/cataloguing/value_builder/unimarc_field_126b.pl @@ -55,7 +55,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {editcatalogue => '*'}, - debug => 1, }); my $f1 = substr($result,0,1); my $f2 = substr($result,1,1); diff --git a/cataloguing/value_builder/unimarc_field_127.pl b/cataloguing/value_builder/unimarc_field_127.pl index 53d740182f..329db611d0 100755 --- a/cataloguing/value_builder/unimarc_field_127.pl +++ b/cataloguing/value_builder/unimarc_field_127.pl @@ -55,7 +55,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {editcatalogue => '*'}, - debug => 1, }); my $f1 = substr($result,0,2); my $f2 = substr($result,2,2); diff --git a/cataloguing/value_builder/unimarc_field_128a.pl b/cataloguing/value_builder/unimarc_field_128a.pl index 85ab660505..f1d30988cb 100755 --- a/cataloguing/value_builder/unimarc_field_128a.pl +++ b/cataloguing/value_builder/unimarc_field_128a.pl @@ -55,7 +55,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {editcatalogue => '*'}, - debug => 1, }); my $f1 = substr($result,0,2); $template->param(index => $index, diff --git a/cataloguing/value_builder/unimarc_field_128b.pl b/cataloguing/value_builder/unimarc_field_128b.pl index e32367f783..c237733060 100755 --- a/cataloguing/value_builder/unimarc_field_128b.pl +++ b/cataloguing/value_builder/unimarc_field_128b.pl @@ -58,7 +58,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {editcatalogue => '*'}, - debug => 1, }); my $f1 = substr($result,0,2); $f1 = wrapper( $f1 ) if $f1; $template->param(index => $index, diff --git a/cataloguing/value_builder/unimarc_field_128c.pl b/cataloguing/value_builder/unimarc_field_128c.pl index 7be92ed030..5a876ce7ae 100755 --- a/cataloguing/value_builder/unimarc_field_128c.pl +++ b/cataloguing/value_builder/unimarc_field_128c.pl @@ -55,7 +55,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {editcatalogue => '*'}, - debug => 1, }); my $f1 = substr($result,0,2); $template->param(index => $index, diff --git a/cataloguing/value_builder/unimarc_field_130.pl b/cataloguing/value_builder/unimarc_field_130.pl index 04d0fb9590..a0cb7ec930 100755 --- a/cataloguing/value_builder/unimarc_field_130.pl +++ b/cataloguing/value_builder/unimarc_field_130.pl @@ -59,7 +59,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {editcatalogue => '*'}, - debug => 1, }); my $f1 = substr($result,0,1); my $f2 = substr($result,1,1); diff --git a/cataloguing/value_builder/unimarc_field_135a.pl b/cataloguing/value_builder/unimarc_field_135a.pl index 7a41b59ae8..3a95a5f367 100755 --- a/cataloguing/value_builder/unimarc_field_135a.pl +++ b/cataloguing/value_builder/unimarc_field_135a.pl @@ -58,7 +58,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {editcatalogue => '*'}, - debug => 1, }); my $f1 = substr($result,0,1); $f1 = wrapper( $f1 ) if $f1; my $f2 = substr($result,1,1); diff --git a/cataloguing/value_builder/unimarc_field_140.pl b/cataloguing/value_builder/unimarc_field_140.pl index 980dc0914e..492ce14a1c 100755 --- a/cataloguing/value_builder/unimarc_field_140.pl +++ b/cataloguing/value_builder/unimarc_field_140.pl @@ -59,7 +59,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {editcatalogue => '*'}, - debug => 1, }); my $f1 = substr($result,0,1); $f1 = wrapper( $f1 ) if $f1; my $f2 = substr($result,1,1); $f2 = wrapper( $f2 ) if $f2; diff --git a/cataloguing/value_builder/unimarc_field_141.pl b/cataloguing/value_builder/unimarc_field_141.pl index c8f36ceb40..45643926be 100755 --- a/cataloguing/value_builder/unimarc_field_141.pl +++ b/cataloguing/value_builder/unimarc_field_141.pl @@ -55,7 +55,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {editcatalogue => '*'}, - debug => 1, }); my $f1 = substr($result,0,1); my $f2 = substr($result,1,1); diff --git a/cataloguing/value_builder/unimarc_field_210c.pl b/cataloguing/value_builder/unimarc_field_210c.pl index 9bf82f72b9..7bda1f3e2c 100755 --- a/cataloguing/value_builder/unimarc_field_210c.pl +++ b/cataloguing/value_builder/unimarc_field_210c.pl @@ -95,7 +95,6 @@ my ($input) = @_; query => $query, type => 'intranet', flagsrequired => {editcatalogue => '*'}, - debug => 1, }); # Results displayed in current page @@ -125,7 +124,6 @@ my ($input) = @_; query => $query, type => 'intranet', flagsrequired => {editcatalogue => '*'}, - debug => 1, }); $template->param(index => $index, diff --git a/cataloguing/value_builder/unimarc_field_210c_bis.pl b/cataloguing/value_builder/unimarc_field_210c_bis.pl index 89ab95b93a..dcfefc4cf3 100755 --- a/cataloguing/value_builder/unimarc_field_210c_bis.pl +++ b/cataloguing/value_builder/unimarc_field_210c_bis.pl @@ -75,7 +75,6 @@ sub plugin { query => $input, type => "intranet", flagsrequired => { editcatalogue => '*' }, - debug => 1, } ); diff --git a/cataloguing/value_builder/unimarc_field_225a.pl b/cataloguing/value_builder/unimarc_field_225a.pl index a8b39930d4..8a3a989709 100755 --- a/cataloguing/value_builder/unimarc_field_225a.pl +++ b/cataloguing/value_builder/unimarc_field_225a.pl @@ -104,7 +104,6 @@ sub plugin { query => $input, type => "intranet", flagsrequired => { editcatalogue => '*' }, - debug => 1, } ); diff --git a/cataloguing/value_builder/unimarc_field_225a_bis.pl b/cataloguing/value_builder/unimarc_field_225a_bis.pl index 98af5b50c3..15990d031c 100755 --- a/cataloguing/value_builder/unimarc_field_225a_bis.pl +++ b/cataloguing/value_builder/unimarc_field_225a_bis.pl @@ -53,7 +53,6 @@ sub plugin { query => $input, type => "intranet", flagsrequired => { editcatalogue => '*' }, - debug => 1, }); $template->param(index => $index); diff --git a/cataloguing/value_builder/unimarc_field_4XX.pl b/cataloguing/value_builder/unimarc_field_4XX.pl index 0caebe1bd8..9c2f024600 100755 --- a/cataloguing/value_builder/unimarc_field_4XX.pl +++ b/cataloguing/value_builder/unimarc_field_4XX.pl @@ -90,7 +90,6 @@ sub plugin { query => $query, type => "intranet", flagsrequired => { editcatalogue => '*' }, - debug => 1, } ); @@ -375,7 +374,6 @@ sub plugin { "cataloguing/value_builder/unimarc_field_4XX.tt", query => $query, type => 'intranet', - debug => 1, } ); diff --git a/cataloguing/value_builder/unimarc_field_686a.pl b/cataloguing/value_builder/unimarc_field_686a.pl index eefdccf171..778d0a91d7 100755 --- a/cataloguing/value_builder/unimarc_field_686a.pl +++ b/cataloguing/value_builder/unimarc_field_686a.pl @@ -57,7 +57,6 @@ my ($input) = @_; query => $input, type => "intranet", flagsrequired => { editcatalogue => '*' }, - debug => 1, } ); $template->param(index => $index, diff --git a/cataloguing/value_builder/unimarc_field_700-4.pl b/cataloguing/value_builder/unimarc_field_700-4.pl index ea38515475..c6388ec9b5 100755 --- a/cataloguing/value_builder/unimarc_field_700-4.pl +++ b/cataloguing/value_builder/unimarc_field_700-4.pl @@ -60,7 +60,6 @@ my ($input) = @_; query => $input, type => "intranet", flagsrequired => { editcatalogue => '*' }, - debug => 1, } ); $template->param(index => $index, diff --git a/cataloguing/value_builder/unimarc_leader.pl b/cataloguing/value_builder/unimarc_leader.pl index 222bf84d01..cae62d01f4 100755 --- a/cataloguing/value_builder/unimarc_leader.pl +++ b/cataloguing/value_builder/unimarc_leader.pl @@ -65,7 +65,6 @@ sub plugin { query => $input, type => "intranet", flagsrequired => { editcatalogue => '*' }, - debug => 1, } ); $result = " nam 3 " unless $result; diff --git a/circ/add_message.pl b/circ/add_message.pl index 455791b919..1c9630a1db 100755 --- a/circ/add_message.pl +++ b/circ/add_message.pl @@ -32,7 +32,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { borrowers => 'edit_borrowers' }, - debug => 1, } ); diff --git a/circ/bookcount.pl b/circ/bookcount.pl index 8509991ac4..b4139694c9 100755 --- a/circ/bookcount.pl +++ b/circ/bookcount.pl @@ -46,7 +46,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { circulate => "circulate_remaining_permissions" }, - debug => 1, } ); diff --git a/circ/branchoverdues.pl b/circ/branchoverdues.pl index c36aa3d451..1699f7b0f2 100755 --- a/circ/branchoverdues.pl +++ b/circ/branchoverdues.pl @@ -46,7 +46,6 @@ my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user({ query => $input, type => "intranet", flagsrequired => { circulate => "circulate_remaining_permissions" }, - debug => 1, }); my $default = C4::Context->userenv->{'branch'}; diff --git a/circ/del_message.pl b/circ/del_message.pl index 496ab65567..2ce34642cd 100755 --- a/circ/del_message.pl +++ b/circ/del_message.pl @@ -32,7 +32,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { borrowers => 'edit_borrowers' }, - debug => 1, } ); diff --git a/circ/overdue.pl b/circ/overdue.pl index 1ce791fe24..e0c415ff1b 100755 --- a/circ/overdue.pl +++ b/circ/overdue.pl @@ -72,7 +72,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { circulate => "overdues_report" }, - debug => 1, } ); diff --git a/circ/pendingreserves.pl b/circ/pendingreserves.pl index 995d63bd9c..19fa6fc0b3 100755 --- a/circ/pendingreserves.pl +++ b/circ/pendingreserves.pl @@ -50,7 +50,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { circulate => "circulate_remaining_permissions" }, - debug => 1, } ); diff --git a/circ/reserveratios.pl b/circ/reserveratios.pl index ed57613d5a..4590bc4ba9 100755 --- a/circ/reserveratios.pl +++ b/circ/reserveratios.pl @@ -45,7 +45,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { circulate => "circulate_remaining_permissions" }, - debug => 1, } ); diff --git a/circ/set-library.pl b/circ/set-library.pl index b460b15466..b10ccc0a0e 100755 --- a/circ/set-library.pl +++ b/circ/set-library.pl @@ -35,7 +35,6 @@ my ( $template, $borrowernumber, $cookie, $flags ) = get_template_and_user({ template_name => "circ/set-library.tt", query => $query, type => "intranet", - debug => 1, flagsrequired => { catalogue => 1, }, }); diff --git a/circ/transfers_to_send.pl b/circ/transfers_to_send.pl index a12b5103d4..07679ddce9 100755 --- a/circ/transfers_to_send.pl +++ b/circ/transfers_to_send.pl @@ -34,7 +34,6 @@ my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { circulate => "circulate_remaining_permissions" }, - debug => 1, } ); diff --git a/circ/transferstoreceive.pl b/circ/transferstoreceive.pl index bbf25368ae..ffa89b2de9 100755 --- a/circ/transferstoreceive.pl +++ b/circ/transferstoreceive.pl @@ -50,7 +50,6 @@ my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { circulate => "circulate_remaining_permissions" }, - debug => 1, } ); diff --git a/circ/view_holdsqueue.pl b/circ/view_holdsqueue.pl index 4e6384e317..be63875353 100755 --- a/circ/view_holdsqueue.pl +++ b/circ/view_holdsqueue.pl @@ -39,7 +39,6 @@ my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( query => $query, type => "intranet", flagsrequired => { circulate => "circulate_remaining_permissions" }, - debug => 1, } ); diff --git a/circ/waitingreserves.pl b/circ/waitingreserves.pl index 1a8d74ade4..4f654a12ed 100755 --- a/circ/waitingreserves.pl +++ b/circ/waitingreserves.pl @@ -56,7 +56,6 @@ my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { circulate => "circulate_remaining_permissions" }, - debug => 1, } ); diff --git a/errors/400.pl b/errors/400.pl index 2e9324d6ea..f2bf9d5ee0 100755 --- a/errors/400.pl +++ b/errors/400.pl @@ -31,7 +31,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => 'intranet', authnotrequired => 1, - debug => 1, } ); $template->param ( diff --git a/errors/401.pl b/errors/401.pl index 8b67c98174..e16ca38159 100755 --- a/errors/401.pl +++ b/errors/401.pl @@ -30,7 +30,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => 'intranet', authnotrequired => 1, - debug => 1, } ); $template->param ( diff --git a/errors/402.pl b/errors/402.pl index 0e5719d677..a6d40ff05c 100755 --- a/errors/402.pl +++ b/errors/402.pl @@ -31,7 +31,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => 'intranet', authnotrequired => 1, - debug => 1, } ); $template->param ( diff --git a/errors/403.pl b/errors/403.pl index dbb6ee6722..d3187a6f3a 100755 --- a/errors/403.pl +++ b/errors/403.pl @@ -31,7 +31,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => 'intranet', authnotrequired => 1, - debug => 1, } ); $template->param ( diff --git a/errors/404.pl b/errors/404.pl index 95215a7a8d..e2f0079f18 100755 --- a/errors/404.pl +++ b/errors/404.pl @@ -31,7 +31,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => 'intranet', authnotrequired => 1, - debug => 1, } ); $template->param ( diff --git a/errors/500.pl b/errors/500.pl index 7f92673ce1..4f80a5089c 100755 --- a/errors/500.pl +++ b/errors/500.pl @@ -31,7 +31,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => 'intranet', authnotrequired => 1, - debug => 1, } ); $template->param ( diff --git a/installer/install.pl b/installer/install.pl index be6ee27f8c..e5fc2e52b4 100755 --- a/installer/install.pl +++ b/installer/install.pl @@ -49,7 +49,6 @@ if ( defined($language) ) { template_name => "installer/step" . ( $step ? $step : 1 ) . ".tt", query => $query, type => "intranet", - debug => 1, } ); diff --git a/installer/onboarding.pl b/installer/onboarding.pl index 6680cd94d9..9ec1a41266 100755 --- a/installer/onboarding.pl +++ b/installer/onboarding.pl @@ -321,7 +321,6 @@ my ( $template, $loggedinuser ); template_name => "onboarding/onboardingstep${step}.tt", query => $input, type => "intranet", - debug => 1, } ); diff --git a/labels/label-create-pdf.pl b/labels/label-create-pdf.pl index d35c5d36ea..9df763cff7 100755 --- a/labels/label-create-pdf.pl +++ b/labels/label-create-pdf.pl @@ -33,7 +33,6 @@ my ( undef, $loggedinuser, $cookie ) = get_template_and_user({ query => $cgi, type => "intranet", flagsrequired => { tools => 'label_creator' }, - debug => 1, }); my $batch_id; diff --git a/labels/label-edit-batch.pl b/labels/label-edit-batch.pl index c6e5930e83..687402d99f 100755 --- a/labels/label-edit-batch.pl +++ b/labels/label-edit-batch.pl @@ -37,7 +37,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $cgi, type => "intranet", flagsrequired => { catalogue => 1 }, - debug => 1, } ); diff --git a/labels/label-edit-layout.pl b/labels/label-edit-layout.pl index b5f279c1e0..8c4e57130f 100755 --- a/labels/label-edit-layout.pl +++ b/labels/label-edit-layout.pl @@ -35,7 +35,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $cgi, type => "intranet", flagsrequired => { catalogue => 1 }, - debug => 1, } ); diff --git a/labels/label-edit-profile.pl b/labels/label-edit-profile.pl index 3569f574fc..9e3fbe09e5 100755 --- a/labels/label-edit-profile.pl +++ b/labels/label-edit-profile.pl @@ -34,7 +34,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $cgi, type => "intranet", flagsrequired => { catalogue => 1 }, - debug => 1, } ); diff --git a/labels/label-edit-range.pl b/labels/label-edit-range.pl index 4ff6c9b996..509250f175 100755 --- a/labels/label-edit-range.pl +++ b/labels/label-edit-range.pl @@ -31,7 +31,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $cgi, type => "intranet", flagsrequired => { catalogue => 1 }, - debug => 1, } ); diff --git a/labels/label-edit-template.pl b/labels/label-edit-template.pl index 197b336c43..17186c74bf 100755 --- a/labels/label-edit-template.pl +++ b/labels/label-edit-template.pl @@ -34,7 +34,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $cgi, type => "intranet", flagsrequired => { catalogue => 1 }, - debug => 1, } ); diff --git a/labels/label-home.pl b/labels/label-home.pl index fee57edaa2..4b3381c33c 100755 --- a/labels/label-home.pl +++ b/labels/label-home.pl @@ -32,7 +32,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $cgi, type => "intranet", flagsrequired => { catalogue => 1 }, - debug => 1, } ); diff --git a/labels/label-item-search.pl b/labels/label-item-search.pl index 3eed6974b9..e1f523d32d 100755 --- a/labels/label-item-search.pl +++ b/labels/label-item-search.pl @@ -148,7 +148,6 @@ if ($show_results) { type => "intranet", flagsrequired => { borrowers => 'edit_borrowers' }, flagsrequired => { catalogue => 1 }, - debug => 1, } ); @@ -226,7 +225,6 @@ else { query => $query, type => "intranet", flagsrequired => { catalogue => 1 }, - debug => 1, } ); my $itemtypes = Koha::ItemTypes->search; diff --git a/labels/label-manage.pl b/labels/label-manage.pl index 8f53a70ae7..2dbbbb3815 100755 --- a/labels/label-manage.pl +++ b/labels/label-manage.pl @@ -37,7 +37,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $cgi, type => "intranet", flagsrequired => { catalogue => 1 }, - debug => 1, } ); diff --git a/labels/label-print.pl b/labels/label-print.pl index 22d15ec327..6a4ac13a1c 100755 --- a/labels/label-print.pl +++ b/labels/label-print.pl @@ -35,7 +35,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $cgi, type => "intranet", flagsrequired => { catalogue => 1 }, - debug => 1, } ); diff --git a/labels/spinelabel-home.pl b/labels/spinelabel-home.pl index 74f2f1d1b0..3648670af2 100755 --- a/labels/spinelabel-home.pl +++ b/labels/spinelabel-home.pl @@ -29,7 +29,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => "intranet", flagsrequired => { catalogue => 1 }, - debug => 1, } ); diff --git a/labels/spinelabel-print.pl b/labels/spinelabel-print.pl index f34c1f811d..ee9a820519 100755 --- a/labels/spinelabel-print.pl +++ b/labels/spinelabel-print.pl @@ -27,7 +27,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => "intranet", flagsrequired => { catalogue => 1 }, - debug => 1, } ); diff --git a/members/boraccount.pl b/members/boraccount.pl index c2befdabd0..0cafc5f1ec 100755 --- a/members/boraccount.pl +++ b/members/boraccount.pl @@ -46,7 +46,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user( type => "intranet", flagsrequired => { borrowers => 'edit_borrowers', updatecharges => 'remaining_permissions'}, - debug => 1, } ); diff --git a/members/deletemem.pl b/members/deletemem.pl index 2a12728548..78fd7f1dca 100755 --- a/members/deletemem.pl +++ b/members/deletemem.pl @@ -43,7 +43,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { borrowers => 'delete_borrowers' }, - debug => 1, } ); diff --git a/members/files.pl b/members/files.pl index 18487ae022..d7185d789a 100755 --- a/members/files.pl +++ b/members/files.pl @@ -39,7 +39,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $cgi, type => "intranet", flagsrequired => { borrowers => 'edit_borrowers' }, - debug => 1, } ); $template->param( 'borrower_files' => 1 ); diff --git a/members/holdshistory.pl b/members/holdshistory.pl index 2b2db160d2..c05bf43dd3 100755 --- a/members/holdshistory.pl +++ b/members/holdshistory.pl @@ -34,7 +34,6 @@ my ($template, $loggedinuser, $cookie)= get_template_and_user({template_name => query => $input, type => "intranet", flagsrequired => {borrowers => 'edit_borrowers'}, - debug => 1, }); my $patron; diff --git a/members/ill-requests.pl b/members/ill-requests.pl index 61737d7398..771d1e7c70 100755 --- a/members/ill-requests.pl +++ b/members/ill-requests.pl @@ -32,7 +32,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { borrowers => 'edit_borrowers' }, - debug => 1, } ); diff --git a/members/member-flags.pl b/members/member-flags.pl index 6ba2005ff9..e34384044c 100755 --- a/members/member-flags.pl +++ b/members/member-flags.pl @@ -39,7 +39,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({ query => $input, type => "intranet", flagsrequired => $flagsrequired, - debug => 1, }); my $logged_in_user = Koha::Patrons->find( $loggedinuser ); diff --git a/members/member-password.pl b/members/member-password.pl index 323eb88f85..879909a491 100755 --- a/members/member-password.pl +++ b/members/member-password.pl @@ -33,7 +33,6 @@ my ( $template, $loggedinuser, $cookie, $staffflags ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { borrowers => 'edit_borrowers' }, - debug => 1, } ); diff --git a/members/members-home.pl b/members/members-home.pl index 8ae49fac28..470f0b5d4e 100755 --- a/members/members-home.pl +++ b/members/members-home.pl @@ -35,7 +35,6 @@ my ($template, $loggedinuser, $cookie, $flags) query => $query, type => "intranet", flagsrequired => {borrowers => 'edit_borrowers'}, - debug => 1, }); my $no_add = 0; diff --git a/members/members-update-do.pl b/members/members-update-do.pl index 81a746ac41..f89f0e2d44 100755 --- a/members/members-update-do.pl +++ b/members/members-update-do.pl @@ -34,7 +34,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => "intranet", flagsrequired => { borrowers => 'edit_borrowers' }, - debug => 1, } ); diff --git a/members/members-update.pl b/members/members-update.pl index acccb2b380..6be1924945 100755 --- a/members/members-update.pl +++ b/members/members-update.pl @@ -38,7 +38,6 @@ my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( query => $query, type => "intranet", flagsrequired => { borrowers => 'edit_borrowers' }, - debug => 1, } ); diff --git a/members/moremember.pl b/members/moremember.pl index 8f6e959850..cbe3652f94 100755 --- a/members/moremember.pl +++ b/members/moremember.pl @@ -70,7 +70,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { borrowers => 'edit_borrowers' }, - debug => 1, } ); my $borrowernumber = $input->param('borrowernumber'); diff --git a/members/notices.pl b/members/notices.pl index 40bc6edf35..a43a39e80d 100755 --- a/members/notices.pl +++ b/members/notices.pl @@ -43,7 +43,6 @@ my ($template, $loggedinuser, $cookie)= get_template_and_user({template_name => query => $input, type => "intranet", flagsrequired => {borrowers => 'edit_borrowers'}, - debug => 1, }); my $logged_in_user = Koha::Patrons->find( $loggedinuser ); diff --git a/members/pay.pl b/members/pay.pl index f56e793d55..fa7c74a319 100755 --- a/members/pay.pl +++ b/members/pay.pl @@ -52,7 +52,6 @@ our ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => 'intranet', flagsrequired => { borrowers => 'edit_borrowers', updatecharges => $updatecharges_permissions }, - debug => 1, } ); diff --git a/members/paycollect.pl b/members/paycollect.pl index 7fb55737e7..c30d8969a2 100755 --- a/members/paycollect.pl +++ b/members/paycollect.pl @@ -49,7 +49,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => 'intranet', flagsrequired => { borrowers => 'edit_borrowers', updatecharges => $updatecharges_permissions }, - debug => 1, } ); diff --git a/members/print_overdues.pl b/members/print_overdues.pl index 4c4bcc2914..dda9017eec 100755 --- a/members/print_overdues.pl +++ b/members/print_overdues.pl @@ -38,7 +38,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => $flagsrequired, - debug => 1, } ); diff --git a/members/printslip.pl b/members/printslip.pl index 2d80f9c09d..58a41adeb7 100755 --- a/members/printslip.pl +++ b/members/printslip.pl @@ -68,7 +68,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => $flagsrequired, - debug => 1, } ); diff --git a/members/purchase-suggestions.pl b/members/purchase-suggestions.pl index ae1e021ff3..ea42f3c472 100755 --- a/members/purchase-suggestions.pl +++ b/members/purchase-suggestions.pl @@ -34,7 +34,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { suggestions => 'suggestions_manage' }, - debug => 1, } ); diff --git a/members/readingrec.pl b/members/readingrec.pl index c8fddf3379..e87a6a05e0 100755 --- a/members/readingrec.pl +++ b/members/readingrec.pl @@ -39,7 +39,6 @@ my ($template, $loggedinuser, $cookie)= get_template_and_user({template_name => query => $input, type => "intranet", flagsrequired => {borrowers => 'edit_borrowers'}, - debug => 1, }); my $op = $input->param('op') || ''; diff --git a/members/statistics.pl b/members/statistics.pl index 93367b3ed7..ee3f7874a2 100755 --- a/members/statistics.pl +++ b/members/statistics.pl @@ -40,7 +40,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { borrowers => 'edit_borrowers' }, - debug => 1, } ); diff --git a/members/summary-print.pl b/members/summary-print.pl index c40159b796..ab052ca2b3 100755 --- a/members/summary-print.pl +++ b/members/summary-print.pl @@ -39,7 +39,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { circulate => "circulate_remaining_permissions" }, - debug => 1, } ); diff --git a/members/update-child.pl b/members/update-child.pl index 7e7edad463..d2f9c49e3a 100755 --- a/members/update-child.pl +++ b/members/update-child.pl @@ -46,7 +46,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { borrowers => 'edit_borrowers' }, - debug => 1, } ); diff --git a/misc/migration_tools/koha-svc.pl b/misc/migration_tools/koha-svc.pl index 055c2383ef..facad63bcd 100755 --- a/misc/migration_tools/koha-svc.pl +++ b/misc/migration_tools/koha-svc.pl @@ -85,7 +85,6 @@ at beginning of script. Rest of API is described below. Example of its usage is url => 'http://koha-dev:8080/cgi-bin/koha/svc', user => 'svc-user', password => 'svc-password', - debug => 0, ); URL must point to Koha's B address and port. diff --git a/opac/errors/400.pl b/opac/errors/400.pl index e295c0bf29..83954c7052 100755 --- a/opac/errors/400.pl +++ b/opac/errors/400.pl @@ -31,7 +31,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => "opac", authnotrequired => 1, - debug => 1, } ); $template->param ( diff --git a/opac/errors/401.pl b/opac/errors/401.pl index 011698d5a6..4d3b5f81bb 100755 --- a/opac/errors/401.pl +++ b/opac/errors/401.pl @@ -31,7 +31,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => "opac", authnotrequired => 1, - debug => 1, } ); $template->param ( diff --git a/opac/errors/402.pl b/opac/errors/402.pl index b3f94e6992..50989b4253 100755 --- a/opac/errors/402.pl +++ b/opac/errors/402.pl @@ -31,7 +31,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => "opac", authnotrequired => 1, - debug => 1, } ); $template->param ( diff --git a/opac/errors/403.pl b/opac/errors/403.pl index 2768a14945..735c1c9d08 100755 --- a/opac/errors/403.pl +++ b/opac/errors/403.pl @@ -31,7 +31,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => "opac", authnotrequired => 1, - debug => 1, } ); $template->param ( diff --git a/opac/errors/404.pl b/opac/errors/404.pl index 6fe04c218b..ca5524d6e2 100755 --- a/opac/errors/404.pl +++ b/opac/errors/404.pl @@ -31,7 +31,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => "opac", authnotrequired => 1, - debug => 1, } ); $template->param ( diff --git a/opac/errors/500.pl b/opac/errors/500.pl index be1e374fbe..2d6c30d76f 100755 --- a/opac/errors/500.pl +++ b/opac/errors/500.pl @@ -31,7 +31,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => "opac", authnotrequired => 1, - debug => 1, } ); $template->param ( diff --git a/opac/ilsdi.pl b/opac/ilsdi.pl index 1b785211ce..86cd92f432 100755 --- a/opac/ilsdi.pl +++ b/opac/ilsdi.pl @@ -121,7 +121,6 @@ unless ( $cgi->param('service') ) { query => $cgi, type => "opac", authnotrequired => 1, - debug => 1, } ); output_html_with_http_headers $cgi, $cookie, $template->output; @@ -143,7 +142,6 @@ if ( scalar $cgi->param('service') eq "Describe" and any { scalar $cgi->param('v query => $cgi, type => "opac", authnotrequired => 1, - debug => 1, } ); $template->param( scalar $cgi->param('verb') => 1 ); diff --git a/opac/opac-ISBDdetail.pl b/opac/opac-ISBDdetail.pl index d1076e76ef..9f3bb869e2 100755 --- a/opac/opac-ISBDdetail.pl +++ b/opac/opac-ISBDdetail.pl @@ -73,7 +73,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => "opac", authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ), - debug => 1, } ); diff --git a/opac/opac-MARCdetail.pl b/opac/opac-MARCdetail.pl index b22a11bea1..0dac97d4b4 100755 --- a/opac/opac-MARCdetail.pl +++ b/opac/opac-MARCdetail.pl @@ -81,7 +81,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => "opac", authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ), - debug => 1, } ); diff --git a/opac/opac-account-pay.pl b/opac/opac-account-pay.pl index cdc4d42b59..c12eae0220 100755 --- a/opac/opac-account-pay.pl +++ b/opac/opac-account-pay.pl @@ -54,7 +54,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "opac-account-pay-error.tt", query => $cgi, type => "opac", - debug => 1, } ); diff --git a/opac/opac-account.pl b/opac/opac-account.pl index 3a7b4cb1c2..c675c2fc92 100755 --- a/opac/opac-account.pl +++ b/opac/opac-account.pl @@ -34,7 +34,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "opac-account.tt", query => $query, type => "opac", - debug => 1, } ); diff --git a/opac/opac-alert-subscribe.pl b/opac/opac-alert-subscribe.pl index 08226e5cb3..e9fb79697e 100755 --- a/opac/opac-alert-subscribe.pl +++ b/opac/opac-alert-subscribe.pl @@ -44,7 +44,6 @@ my $biblionumber = $query->param('biblionumber'); type => "opac", authnotrequired => 0, # user must logged in to request # subscription notifications - debug => 1, } ); diff --git a/opac/opac-article-request-cancel.pl b/opac/opac-article-request-cancel.pl index 11893f656d..1372b4e818 100755 --- a/opac/opac-article-request-cancel.pl +++ b/opac/opac-article-request-cancel.pl @@ -32,7 +32,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "opac-account.tt", query => $query, type => "opac", - debug => 1, } ); diff --git a/opac/opac-authorities-home.pl b/opac/opac-authorities-home.pl index 2b9488381f..030820772a 100755 --- a/opac/opac-authorities-home.pl +++ b/opac/opac-authorities-home.pl @@ -71,7 +71,6 @@ if ( $op eq "do_search" ) { query => $query, type => 'opac', authnotrequired => 1, - debug => 1, } ); $template->param( search_query => $search_query ) if C4::Context->preference('DumpSearchQueryTemplate'); @@ -170,7 +169,6 @@ else { query => $query, type => 'opac', authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ), - debug => 1, } ); diff --git a/opac/opac-authoritiesdetail.pl b/opac/opac-authoritiesdetail.pl index 952bef3cf9..432e2982d4 100755 --- a/opac/opac-authoritiesdetail.pl +++ b/opac/opac-authoritiesdetail.pl @@ -65,7 +65,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => "opac", authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ), - debug => 1, } ); diff --git a/opac/opac-browser.pl b/opac/opac-browser.pl index 67851e9053..3524d039f9 100755 --- a/opac/opac-browser.pl +++ b/opac/opac-browser.pl @@ -43,7 +43,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => "opac", authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ), - debug => 1, } ); diff --git a/opac/opac-course-details.pl b/opac/opac-course-details.pl index c7fe920b5a..40c9d43bcd 100755 --- a/opac/opac-course-details.pl +++ b/opac/opac-course-details.pl @@ -35,7 +35,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( query => $cgi, type => "opac", authnotrequired => 1, - debug => 1, } ); diff --git a/opac/opac-course-reserves.pl b/opac/opac-course-reserves.pl index f4cf89d707..7e8e759134 100755 --- a/opac/opac-course-reserves.pl +++ b/opac/opac-course-reserves.pl @@ -34,7 +34,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( query => $cgi, type => "opac", authnotrequired => 1, - debug => 1, } ); diff --git a/opac/opac-discharge.pl b/opac/opac-discharge.pl index 58141c6459..ec28ad8f4a 100755 --- a/opac/opac-discharge.pl +++ b/opac/opac-discharge.pl @@ -44,7 +44,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user({ template_name => "opac-discharge.tt", query => $input, type => "opac", - debug => 1, }); my $can_be_discharged = Koha::Patron::Discharge::can_be_discharged({ borrowernumber => $loggedinuser }); diff --git a/opac/opac-ics.pl b/opac/opac-ics.pl index bbb9b5bf40..c8116b4efc 100755 --- a/opac/opac-ics.pl +++ b/opac/opac-ics.pl @@ -41,7 +41,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "opac-ics.tt", query => $query, type => "opac", - debug => 1, } ); diff --git a/opac/opac-issue-note.pl b/opac/opac-issue-note.pl index 781a532695..5153b15358 100755 --- a/opac/opac-issue-note.pl +++ b/opac/opac-issue-note.pl @@ -38,7 +38,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "opac-issue-note.tt", query => $query, type => "opac", - debug => 1, } ); diff --git a/opac/opac-messaging.pl b/opac/opac-messaging.pl index bb44b4c65e..1748c31361 100755 --- a/opac/opac-messaging.pl +++ b/opac/opac-messaging.pl @@ -46,7 +46,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => 'opac-messaging.tt', query => $query, type => 'opac', - debug => 1, } ); diff --git a/opac/opac-modrequest-suspend.pl b/opac/opac-modrequest-suspend.pl index ca95ddad39..ec9b9a8291 100755 --- a/opac/opac-modrequest-suspend.pl +++ b/opac/opac-modrequest-suspend.pl @@ -27,7 +27,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "opac-account.tt", query => $query, type => "opac", - debug => 1, } ); diff --git a/opac/opac-modrequest.pl b/opac/opac-modrequest.pl index d63781b8f9..64b064c92b 100755 --- a/opac/opac-modrequest.pl +++ b/opac/opac-modrequest.pl @@ -36,7 +36,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "opac-account.tt", query => $query, type => "opac", - debug => 1, } ); diff --git a/opac/opac-mymessages.pl b/opac/opac-mymessages.pl index 8991c4e998..5de888a4f0 100755 --- a/opac/opac-mymessages.pl +++ b/opac/opac-mymessages.pl @@ -34,7 +34,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => 'opac-mymessages.tt', query => $query, type => 'opac', - debug => 1, } ); diff --git a/opac/opac-overdrive-search.pl b/opac/opac-overdrive-search.pl index f61b22227e..9b7618942c 100755 --- a/opac/opac-overdrive-search.pl +++ b/opac/opac-overdrive-search.pl @@ -33,7 +33,6 @@ my ($template, $loggedinuser, $cookie) type => "opac", authnotrequired => 1, flagsrequired => {borrowers => 'edit_borrowers'}, - debug => 1, }); $template->{'VARS'}->{'q'} = $cgi->param('q'); diff --git a/opac/opac-passwd.pl b/opac/opac-passwd.pl index f6ab65075a..6b9081a965 100755 --- a/opac/opac-passwd.pl +++ b/opac/opac-passwd.pl @@ -38,7 +38,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "opac-passwd.tt", query => $query, type => "opac", - debug => 1, } ); diff --git a/opac/opac-password-recovery.pl b/opac/opac-password-recovery.pl index c0be4598d5..b6c5592e7e 100755 --- a/opac/opac-password-recovery.pl +++ b/opac/opac-password-recovery.pl @@ -21,7 +21,6 @@ my ( $template, $dummy, $cookie ) = get_template_and_user( query => $query, type => "opac", authnotrequired => 1, - debug => 1, } ); diff --git a/opac/opac-privacy.pl b/opac/opac-privacy.pl index 2b0ed98dc3..fa3083c2af 100755 --- a/opac/opac-privacy.pl +++ b/opac/opac-privacy.pl @@ -39,7 +39,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "opac-privacy.tt", query => $query, type => "opac", - debug => 1, } ); diff --git a/opac/opac-ratings-ajax.pl b/opac/opac-ratings-ajax.pl index 8620368b53..003bdd6f50 100755 --- a/opac/opac-ratings-ajax.pl +++ b/opac/opac-ratings-ajax.pl @@ -62,7 +62,6 @@ else { query => $query, type => "opac", authnotrequired => 0, # auth required to add tags - debug => 1, } ); } diff --git a/opac/opac-readingrecord.pl b/opac/opac-readingrecord.pl index 77b591bb4e..9c6200f9f0 100755 --- a/opac/opac-readingrecord.pl +++ b/opac/opac-readingrecord.pl @@ -49,7 +49,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "opac-readingrecord.tt", query => $query, type => "opac", - debug => 1, } ); diff --git a/opac/opac-recordedbooks-search.pl b/opac/opac-recordedbooks-search.pl index 1345080b85..c23ef028c0 100755 --- a/opac/opac-recordedbooks-search.pl +++ b/opac/opac-recordedbooks-search.pl @@ -31,7 +31,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "opac-recordedbooks-search.tt", query => $cgi, type => "opac", - debug => 1, authnotrequired => 1, } ); diff --git a/opac/opac-renew.pl b/opac/opac-renew.pl index ea8dbde961..8a946d0f17 100755 --- a/opac/opac-renew.pl +++ b/opac/opac-renew.pl @@ -39,7 +39,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "opac-user.tt", query => $query, type => "opac", - debug => 1, } ); my @items = $query->multi_param('item'); diff --git a/opac/opac-request-article.pl b/opac/opac-request-article.pl index d6ce08f8ad..6dc9189ef8 100755 --- a/opac/opac-request-article.pl +++ b/opac/opac-request-article.pl @@ -34,7 +34,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "opac-request-article.tt", query => $cgi, type => "opac", - debug => 1, } ); diff --git a/opac/opac-reserve.pl b/opac/opac-reserve.pl index a6182400ad..0988b740f9 100755 --- a/opac/opac-reserve.pl +++ b/opac/opac-reserve.pl @@ -60,7 +60,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "opac-reserve.tt", query => $query, type => "opac", - debug => 1, } ); diff --git a/opac/opac-restrictedpage.pl b/opac/opac-restrictedpage.pl index e9a325a2f2..ca90b41ebc 100755 --- a/opac/opac-restrictedpage.pl +++ b/opac/opac-restrictedpage.pl @@ -40,7 +40,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( query => $query, type => "opac", authnotrequired => $withinNetwork, - debug => 1, } ); diff --git a/opac/opac-routing-lists.pl b/opac/opac-routing-lists.pl index 6982c1657d..2be52197e0 100755 --- a/opac/opac-routing-lists.pl +++ b/opac/opac-routing-lists.pl @@ -36,7 +36,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "opac-routing-lists.tt", query => $query, type => "opac", - debug => 1, } ); diff --git a/opac/opac-search-history.pl b/opac/opac-search-history.pl index a9a4a73cea..c340c9faf5 100755 --- a/opac/opac-search-history.pl +++ b/opac/opac-search-history.pl @@ -41,7 +41,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user( query => $cgi, type => "opac", authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ), - debug => 1, } ); diff --git a/opac/opac-serial-issues.pl b/opac/opac-serial-issues.pl index 74e5abbc55..c842880345 100755 --- a/opac/opac-serial-issues.pl +++ b/opac/opac-serial-issues.pl @@ -44,7 +44,6 @@ if ( $selectview eq "full" ) { query => $query, type => "opac", authnotrequired => 1, - debug => 1, } ); my $subscriptions = GetFullSubscriptionsFromBiblionumber($biblionumber); @@ -87,7 +86,6 @@ else { query => $query, type => "opac", authnotrequired => 1, - debug => 1, } ); diff --git a/opac/opac-showmarc.pl b/opac/opac-showmarc.pl index a30e3e5fdd..5ba6a23404 100755 --- a/opac/opac-showmarc.pl +++ b/opac/opac-showmarc.pl @@ -39,7 +39,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user({ query => $input, type => "opac", authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ), - debug => 1, }); my $biblionumber = $input->param('id'); diff --git a/opac/opac-tags.pl b/opac/opac-tags.pl index 05a4c1a74a..e803735783 100755 --- a/opac/opac-tags.pl +++ b/opac/opac-tags.pl @@ -113,7 +113,6 @@ if ($is_ajax) { query => $query, type => "opac", authnotrequired => ($add_op ? 0 : 1), # auth required to add tags - debug => 1, }); } diff --git a/opac/opac-tags_subject.pl b/opac/opac-tags_subject.pl index 3c55c467d5..25afac4b86 100755 --- a/opac/opac-tags_subject.pl +++ b/opac/opac-tags_subject.pl @@ -43,7 +43,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => "opac", authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ), - debug => 1, } ); diff --git a/opac/opac-topissues.pl b/opac/opac-topissues.pl index 1f6edaef76..d2d76da8f6 100755 --- a/opac/opac-topissues.pl +++ b/opac/opac-topissues.pl @@ -53,7 +53,6 @@ my ($template, $borrowernumber, $cookie) = get_template_and_user( query => $input, type => "opac", authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ), - debug => 1, } ); my $dbh = C4::Context->dbh; diff --git a/opac/opac-user.pl b/opac/opac-user.pl index 7a9c774d67..0d9bdd708c 100755 --- a/opac/opac-user.pl +++ b/opac/opac-user.pl @@ -66,7 +66,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "opac-user.tt", query => $query, type => "opac", - debug => 1, } ); diff --git a/opac/sco/help.pl b/opac/sco/help.pl index 22fb99a2d0..25e4356283 100755 --- a/opac/sco/help.pl +++ b/opac/sco/help.pl @@ -38,7 +38,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "sco/help.tt", query => $query, type => "opac", - debug => 1, authnotrequired => 1, flagsrequired => { self_check => "self_checkout_module" }, } diff --git a/opac/sco/sco-main.pl b/opac/sco/sco-main.pl index 742f7f43ca..d4f91638ce 100755 --- a/opac/sco/sco-main.pl +++ b/opac/sco/sco-main.pl @@ -81,7 +81,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( flagsrequired => { self_check => "self_checkout_module" }, query => $query, type => "opac", - debug => 1, } ); diff --git a/patroncards/create-pdf.pl b/patroncards/create-pdf.pl index 1ffaa0002a..3a81b79d19 100755 --- a/patroncards/create-pdf.pl +++ b/patroncards/create-pdf.pl @@ -41,7 +41,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user({ query => $cgi, type => "intranet", flagsrequired => { tools => 'label_creator' }, - debug => 1, }); my $batch_id = $cgi->param('batch_id') || undef; my $template_id = $cgi->param('template_id') || undef; diff --git a/patroncards/edit-batch.pl b/patroncards/edit-batch.pl index e00b01144b..a3dcd2df2d 100755 --- a/patroncards/edit-batch.pl +++ b/patroncards/edit-batch.pl @@ -38,7 +38,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $cgi, type => "intranet", flagsrequired => { tools => 'label_creator' }, - debug => 1, } ); diff --git a/patroncards/edit-layout.pl b/patroncards/edit-layout.pl index b50c221c02..6ecbde47bb 100755 --- a/patroncards/edit-layout.pl +++ b/patroncards/edit-layout.pl @@ -37,7 +37,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $cgi, type => "intranet", flagsrequired => { tools => 'label_creator' }, - debug => 1, } ); diff --git a/patroncards/edit-profile.pl b/patroncards/edit-profile.pl index 7ca0e70117..c192702459 100755 --- a/patroncards/edit-profile.pl +++ b/patroncards/edit-profile.pl @@ -34,7 +34,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $cgi, type => "intranet", flagsrequired => { tools => 'label_creator' }, - debug => 1, } ); diff --git a/patroncards/edit-template.pl b/patroncards/edit-template.pl index 6ec791a223..fab470a13e 100755 --- a/patroncards/edit-template.pl +++ b/patroncards/edit-template.pl @@ -35,7 +35,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $cgi, type => "intranet", flagsrequired => { tools => 'label_creator' }, - debug => 1, } ); diff --git a/patroncards/home.pl b/patroncards/home.pl index 884f4874d9..6e69187add 100755 --- a/patroncards/home.pl +++ b/patroncards/home.pl @@ -32,7 +32,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $cgi, type => "intranet", flagsrequired => { tools => 'label_creator' }, - debug => 1, } ); diff --git a/patroncards/image-manage.pl b/patroncards/image-manage.pl index 388f2af688..0ada314c08 100755 --- a/patroncards/image-manage.pl +++ b/patroncards/image-manage.pl @@ -20,7 +20,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({ query => $cgi, type => "intranet", flagsrequired => {tools => 'label_creator'}, - debug => 0, }); my $file_name = $cgi->param('uploadfile') || ''; diff --git a/patroncards/manage.pl b/patroncards/manage.pl index 62d0ee78a5..456713c34c 100755 --- a/patroncards/manage.pl +++ b/patroncards/manage.pl @@ -38,7 +38,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $cgi, type => "intranet", flagsrequired => { tools => 'label_creator' }, - debug => 1, } ); diff --git a/patroncards/print.pl b/patroncards/print.pl index 03382824e2..ec7024aa57 100755 --- a/patroncards/print.pl +++ b/patroncards/print.pl @@ -34,7 +34,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $cgi, type => "intranet", flagsrequired => { tools => 'label_creator' }, - debug => 1, } ); diff --git a/plugins/plugins-home.pl b/plugins/plugins-home.pl index f9d72b885d..e5b287d8b6 100755 --- a/plugins/plugins-home.pl +++ b/plugins/plugins-home.pl @@ -41,7 +41,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { plugins => '*' }, - debug => 1, } ); diff --git a/plugins/plugins-uninstall.pl b/plugins/plugins-uninstall.pl index 8f933a2971..629dcf49b9 100755 --- a/plugins/plugins-uninstall.pl +++ b/plugins/plugins-uninstall.pl @@ -38,7 +38,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { plugins => 'manage' }, - debug => 1, } ); diff --git a/plugins/plugins-upload.pl b/plugins/plugins-upload.pl index c81e6f175b..e103c1d092 100755 --- a/plugins/plugins-upload.pl +++ b/plugins/plugins-upload.pl @@ -40,7 +40,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { plugins => 'manage' }, - debug => 1, } ); diff --git a/plugins/run.pl b/plugins/run.pl index d050f47d69..a9b4ed9b2e 100755 --- a/plugins/run.pl +++ b/plugins/run.pl @@ -39,7 +39,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( query => $cgi, type => "intranet", flagsrequired => { plugins => $method }, - debug => 1, } ); diff --git a/reports/acquisitions_stats.pl b/reports/acquisitions_stats.pl index b560e459a4..8fe531358e 100755 --- a/reports/acquisitions_stats.pl +++ b/reports/acquisitions_stats.pl @@ -67,7 +67,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { reports => '*' }, - debug => 1, } ); diff --git a/reports/bor_issues_top.pl b/reports/bor_issues_top.pl index d69cac025d..53d7966b98 100755 --- a/reports/bor_issues_top.pl +++ b/reports/bor_issues_top.pl @@ -56,7 +56,6 @@ my ($template, $borrowernumber, $cookie) query => $input, type => "intranet", flagsrequired => {reports => '*'}, - debug => 1, }); our $sep = $input->param("sep") || C4::Context->preference('CSVDelimiter') || ','; $sep = "\t" if ($sep eq 'tabulation'); diff --git a/reports/borrowers_out.pl b/reports/borrowers_out.pl index aee373ad3c..22f71c9924 100755 --- a/reports/borrowers_out.pl +++ b/reports/borrowers_out.pl @@ -59,7 +59,6 @@ my ($template, $borrowernumber, $cookie) query => $input, type => "intranet", flagsrequired => {reports => '*'}, - debug => 1, }); $template->param(do_it => $do_it, ); diff --git a/reports/borrowers_stats.pl b/reports/borrowers_stats.pl index c53491a070..dc8b7b4b71 100755 --- a/reports/borrowers_stats.pl +++ b/reports/borrowers_stats.pl @@ -72,7 +72,6 @@ my ($template, $borrowernumber, $cookie) query => $input, type => "intranet", flagsrequired => {reports => '*'}, - debug => 1, }); $template->param(do_it => $do_it); if ($do_it) { diff --git a/reports/cash_register_stats.pl b/reports/cash_register_stats.pl index 33c7d1d6ee..3b790ff8ca 100755 --- a/reports/cash_register_stats.pl +++ b/reports/cash_register_stats.pl @@ -39,7 +39,6 @@ my ($template, $borrowernumber, $cookie) = get_template_and_user({ query => $input, type => "intranet", flagsrequired => {reports => '*'}, - debug => 1, }); my $do_it = $input->param('do_it'); diff --git a/reports/cat_issues_top.pl b/reports/cat_issues_top.pl index ee0c092c43..93210811f6 100755 --- a/reports/cat_issues_top.pl +++ b/reports/cat_issues_top.pl @@ -56,7 +56,6 @@ my ($template, $borrowernumber, $cookie) query => $input, type => "intranet", flagsrequired => { reports => '*'}, - debug => 1, }); our $sep = $input->param("sep"); $sep = "\t" if ($sep eq 'tabulation'); diff --git a/reports/catalogue_out.pl b/reports/catalogue_out.pl index bea7fe9bf2..ae36ac6417 100755 --- a/reports/catalogue_out.pl +++ b/reports/catalogue_out.pl @@ -45,7 +45,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { reports => 'execute_reports' }, - debug => 1, } ); diff --git a/reports/catalogue_stats.pl b/reports/catalogue_stats.pl index 85293b7026..b7b01e23d8 100755 --- a/reports/catalogue_stats.pl +++ b/reports/catalogue_stats.pl @@ -71,7 +71,6 @@ my ($template, $borrowernumber, $cookie) query => $input, type => "intranet", flagsrequired => {reports => '*'}, - debug => 1, }); $template->param(do_it => $do_it); if ($do_it) { diff --git a/reports/dictionary.pl b/reports/dictionary.pl index 9cc7ed7697..26976c0215 100755 --- a/reports/dictionary.pl +++ b/reports/dictionary.pl @@ -45,7 +45,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { reports => '*' }, - debug => 1, } ); diff --git a/reports/guided_reports.pl b/reports/guided_reports.pl index 49dfc95a3e..415c785547 100755 --- a/reports/guided_reports.pl +++ b/reports/guided_reports.pl @@ -75,7 +75,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { reports => $flagsrequired }, - debug => 1, } ); my $session = $cookie ? get_session($cookie->value) : undef; diff --git a/reports/issues_avg_stats.pl b/reports/issues_avg_stats.pl index 7e7406af38..d5bbf2da74 100755 --- a/reports/issues_avg_stats.pl +++ b/reports/issues_avg_stats.pl @@ -67,7 +67,6 @@ my ($template, $borrowernumber, $cookie) query => $input, type => "intranet", flagsrequired => {reports => '*'}, - debug => 1, }); our $sep = $input->param("sep"); $sep = "\t" if ($sep eq 'tabulation'); diff --git a/reports/issues_stats.pl b/reports/issues_stats.pl index 896b443478..6a19f21fb1 100755 --- a/reports/issues_stats.pl +++ b/reports/issues_stats.pl @@ -79,7 +79,6 @@ my ($template, $borrowernumber, $cookie) = get_template_and_user({ query => $input, type => "intranet", flagsrequired => {reports => '*'}, - debug => 0, }); our $sep = $input->param("sep") // ';'; $sep = "\t" if ($sep eq 'tabulation'); diff --git a/reports/itemslost.pl b/reports/itemslost.pl index 3fcb75d632..9c77e6e172 100755 --- a/reports/itemslost.pl +++ b/reports/itemslost.pl @@ -45,7 +45,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => "intranet", flagsrequired => { reports => '*' }, - debug => 1, } ); diff --git a/reports/manager.pl b/reports/manager.pl index 45f2d60ac5..0d6e1bca88 100755 --- a/reports/manager.pl +++ b/reports/manager.pl @@ -35,7 +35,6 @@ my ($template, $borrowernumber, $cookie) query => $input, type => "intranet", flagsrequired => {reports => '*'}, - debug => 1, }); $template->param(do_it => $do_it, report_name => $report_name, diff --git a/reports/orders_by_fund.pl b/reports/orders_by_fund.pl index 6ffe018c9a..92bbb5f187 100755 --- a/reports/orders_by_fund.pl +++ b/reports/orders_by_fund.pl @@ -44,7 +44,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => "intranet", flagsrequired => { reports => '*' }, - debug => 1, } ); diff --git a/reports/reports-home.pl b/reports/reports-home.pl index 78978c19fd..bffe6b6a19 100755 --- a/reports/reports-home.pl +++ b/reports/reports-home.pl @@ -31,7 +31,6 @@ my ($template, $loggedinuser, $cookie) query => $query, type => "intranet", flagsrequired => {reports => '*'}, - debug => 1, }); $template->param(intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"), intranetstylesheet => C4::Context->preference("intranetstylesheet"), diff --git a/reports/reserves_stats.pl b/reports/reserves_stats.pl index c28c398a32..fd1194c43f 100755 --- a/reports/reserves_stats.pl +++ b/reports/reserves_stats.pl @@ -66,7 +66,6 @@ my ($template, $borrowernumber, $cookie) = get_template_and_user({ query => $input, type => "intranet", flagsrequired => {reports => '*'}, - debug => 0, }); our $sep = $input->param("sep") || ''; $sep = "\t" if ($sep eq 'tabulation'); diff --git a/reports/serials_stats.pl b/reports/serials_stats.pl index 9a0a071ff7..277b7671f4 100755 --- a/reports/serials_stats.pl +++ b/reports/serials_stats.pl @@ -51,7 +51,6 @@ my ($template, $borrowernumber, $cookie) query => $input, type => "intranet", flagsrequired => {reports => '*'}, - debug => 1, }); diff --git a/reserve/modrequest.pl b/reserve/modrequest.pl index b2d138378a..f1ab945f2e 100755 --- a/reserve/modrequest.pl +++ b/reserve/modrequest.pl @@ -37,7 +37,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => "intranet", flagsrequired => { catalogue => 1 }, - debug => 1, } ); diff --git a/reserve/modrequest_suspendall.pl b/reserve/modrequest_suspendall.pl index dbe6b227db..e0098e08db 100755 --- a/reserve/modrequest_suspendall.pl +++ b/reserve/modrequest_suspendall.pl @@ -35,7 +35,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => "intranet", flagsrequired => { catalogue => 1 }, - debug => 1, } ); diff --git a/reviews/reviewswaiting.pl b/reviews/reviewswaiting.pl index f5050d2ba5..99a0d3f587 100755 --- a/reviews/reviewswaiting.pl +++ b/reviews/reviewswaiting.pl @@ -33,7 +33,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => "intranet", flagsrequired => { tools => 'moderate_comments' }, - debug => 1, } ); diff --git a/rotating_collections/addItems.pl b/rotating_collections/addItems.pl index 5cd49df436..f77c4ed81f 100755 --- a/rotating_collections/addItems.pl +++ b/rotating_collections/addItems.pl @@ -36,7 +36,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => "intranet", flagsrequired => { tools => 'rotating_collections' }, - debug => 1, } ); diff --git a/rotating_collections/editCollections.pl b/rotating_collections/editCollections.pl index 33014e9831..6955291b61 100755 --- a/rotating_collections/editCollections.pl +++ b/rotating_collections/editCollections.pl @@ -34,7 +34,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => "intranet", flagsrequired => { tools => 'rotating_collections' }, - debug => 1, } ); diff --git a/rotating_collections/rotatingCollections.pl b/rotating_collections/rotatingCollections.pl index 7eb3975c03..5a22bf43e0 100755 --- a/rotating_collections/rotatingCollections.pl +++ b/rotating_collections/rotatingCollections.pl @@ -33,7 +33,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => "intranet", flagsrequired => { tools => 'rotating_collections' }, - debug => 1, } ); diff --git a/rotating_collections/transferCollection.pl b/rotating_collections/transferCollection.pl index f489135407..4380c1e8ab 100755 --- a/rotating_collections/transferCollection.pl +++ b/rotating_collections/transferCollection.pl @@ -36,7 +36,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => "intranet", flagsrequired => { tools => 'rotating_collections' }, - debug => 1, } ); diff --git a/serials/acqui-search-result.pl b/serials/acqui-search-result.pl index ece1232d19..95a838c2e4 100755 --- a/serials/acqui-search-result.pl +++ b/serials/acqui-search-result.pl @@ -56,7 +56,6 @@ my ($template, $loggedinuser, $cookie) query => $query, type => "intranet", flagsrequired => {serials => '*'}, - debug => 1, }); my $supplier=$query->param('supplier'); diff --git a/serials/acqui-search.pl b/serials/acqui-search.pl index 58d659d4f8..2b1041cad5 100755 --- a/serials/acqui-search.pl +++ b/serials/acqui-search.pl @@ -31,7 +31,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => "intranet", flagsrequired => { serials => '*' }, - debug => 1, } ); diff --git a/serials/checkexpiration.pl b/serials/checkexpiration.pl index aeebd2f5bc..97dbec1946 100755 --- a/serials/checkexpiration.pl +++ b/serials/checkexpiration.pl @@ -60,7 +60,6 @@ my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user ( query => $query, type => "intranet", flagsrequired => { serials => 'check_expiration' }, - debug => 1, } ); diff --git a/serials/claims.pl b/serials/claims.pl index 498f1cc2d9..4a8a6b70b2 100755 --- a/serials/claims.pl +++ b/serials/claims.pl @@ -44,7 +44,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => 'intranet', flagsrequired => {serials => 'claim_serials'}, - debug => 1, }); # supplierlist is returned in name order diff --git a/serials/routing-preview.pl b/serials/routing-preview.pl index 40a8344633..093bfb2230 100755 --- a/serials/routing-preview.pl +++ b/serials/routing-preview.pl @@ -113,7 +113,6 @@ if($ok){ query => $query, type => "intranet", flagsrequired => {serials => '*'}, - debug => 1, }); } else { ($template, $loggedinuser, $cookie) @@ -121,7 +120,6 @@ if($ok){ query => $query, type => "intranet", flagsrequired => {serials => '*'}, - debug => 1, }); } diff --git a/serials/serials-collection.pl b/serials/serials-collection.pl index 14c5a44ff7..f725d7f426 100755 --- a/serials/serials-collection.pl +++ b/serials/serials-collection.pl @@ -45,7 +45,6 @@ my ($template, $loggedinuser, $cookie) query => $query, type => "intranet", flagsrequired => {serials => '*'}, - debug => 1, }); my $biblionumber = $query->param('biblionumber'); my @subscriptionid = $query->multi_param('subscriptionid'); diff --git a/serials/serials-edit.pl b/serials/serials-edit.pl index ad0deb50a4..ea9bee8fa5 100755 --- a/serials/serials-edit.pl +++ b/serials/serials-edit.pl @@ -123,7 +123,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => 'intranet', flagsrequired => { serials => 'receive_serials' }, - debug => 1, } ); diff --git a/serials/serials-home.pl b/serials/serials-home.pl index 8f7cb15417..6f2c40c082 100755 --- a/serials/serials-home.pl +++ b/serials/serials-home.pl @@ -44,7 +44,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => "intranet", flagsrequired => { serials => '*' }, - debug => 1, } ); diff --git a/serials/serials-search.pl b/serials/serials-search.pl index a0723286ca..5b6608a5cd 100755 --- a/serials/serials-search.pl +++ b/serials/serials-search.pl @@ -63,7 +63,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => "intranet", flagsrequired => { serials => '*' }, - debug => 1, } ); diff --git a/serials/subscription-add.pl b/serials/subscription-add.pl index 8e55ce05af..96891487bc 100755 --- a/serials/subscription-add.pl +++ b/serials/subscription-add.pl @@ -57,7 +57,6 @@ our ($template, $loggedinuser, $cookie) query => $query, type => "intranet", flagsrequired => {serials => $permission}, - debug => 1, }); diff --git a/serials/subscription-bib-search.pl b/serials/subscription-bib-search.pl index 049da968cc..41b6a398c8 100755 --- a/serials/subscription-bib-search.pl +++ b/serials/subscription-bib-search.pl @@ -84,7 +84,6 @@ if ( $op eq "do_search" && $query ) { query => $input, type => "intranet", flagsrequired => { catalogue => 1, serials => '*' }, - debug => 1, } ); @@ -192,7 +191,6 @@ else { query => $input, type => "intranet", flagsrequired => { catalogue => 1, serials => '*' }, - debug => 1, } ); diff --git a/serials/subscription-detail.pl b/serials/subscription-detail.pl index ac4abcef18..118b3a1354 100755 --- a/serials/subscription-detail.pl +++ b/serials/subscription-detail.pl @@ -60,7 +60,6 @@ my ($template, $loggedinuser, $cookie) query => $query, type => "intranet", flagsrequired => {serials => $permission}, - debug => 1, }); my $subs = GetSubscription($subscriptionid); diff --git a/serials/subscription-frequencies.pl b/serials/subscription-frequencies.pl index ad14c0cd48..30af9f5ee2 100755 --- a/serials/subscription-frequencies.pl +++ b/serials/subscription-frequencies.pl @@ -42,7 +42,6 @@ my ($template, $loggedinuser, $cookie, $flags) = get_template_and_user( { query => $input, type => 'intranet', flagsrequired => { 'serials' => 1 }, - debug => 1, } ); my $op = $input->param('op'); diff --git a/serials/subscription-history.pl b/serials/subscription-history.pl index 4001a5de87..75474ed963 100755 --- a/serials/subscription-history.pl +++ b/serials/subscription-history.pl @@ -44,7 +44,6 @@ my ($template, $loggedinuser, $cookie, $flags) = get_template_and_user( { query => $input, type => 'intranet', flagsrequired => { 'serials' => 'edit_subscription' }, - debug => 1, } ); my $subscriptionid = $input->param('subscriptionid'); diff --git a/serials/subscription-renew.pl b/serials/subscription-renew.pl index 80727da866..a30b24940b 100755 --- a/serials/subscription-renew.pl +++ b/serials/subscription-renew.pl @@ -73,7 +73,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => "intranet", flagsrequired => { serials => 'renew_subscription' }, - debug => 1, } ); if ( $op eq "renew" ) { diff --git a/serials/viewalerts.pl b/serials/viewalerts.pl index 444d39c04f..106b8679da 100755 --- a/serials/viewalerts.pl +++ b/serials/viewalerts.pl @@ -33,7 +33,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {serials => '*'}, - debug => 1, }); my $subscriptionid = $input->param('subscriptionid'); diff --git a/tags/list.pl b/tags/list.pl index 23a7d8e345..76d65c8dd1 100755 --- a/tags/list.pl +++ b/tags/list.pl @@ -42,7 +42,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( template_name => "tags/list.tt", query => $query, type => "intranet", - debug => 1, flagsrequired => $needed_flags, } ); diff --git a/tags/review.pl b/tags/review.pl index 3acf28a9dc..5e77c284cb 100755 --- a/tags/review.pl +++ b/tags/review.pl @@ -82,7 +82,6 @@ my ($template, $borrowernumber, $cookie) = get_template_and_user( template_name => "tags/review.tt", query => $input, type => "intranet", - debug => 1, flagsrequired => $needed_flags, } ); diff --git a/tools/csv-profiles.pl b/tools/csv-profiles.pl index e6a7bdaa0d..cf4012fc47 100755 --- a/tools/csv-profiles.pl +++ b/tools/csv-profiles.pl @@ -54,7 +54,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { tools => 'manage_csv_profiles' }, - debug => 1, } ); diff --git a/tools/export.pl b/tools/export.pl index 6d677abf5b..588f1b9c93 100755 --- a/tools/export.pl +++ b/tools/export.pl @@ -67,7 +67,6 @@ my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( query => $query, type => "intranet", flagsrequired => { tools => 'export_catalog' }, - debug => 1, } ); diff --git a/tools/holidays.pl b/tools/holidays.pl index 252882dbef..3b7e93d7cd 100755 --- a/tools/holidays.pl +++ b/tools/holidays.pl @@ -35,7 +35,6 @@ my ($template, $loggedinuser, $cookie) type => "intranet", query => $input, flagsrequired => {tools => 'edit_calendar'}, - debug => 1, }); # calendardate - date passed in url for human readability (syspref) diff --git a/tools/import_borrowers.pl b/tools/import_borrowers.pl index f722568942..efb205ee22 100755 --- a/tools/import_borrowers.pl +++ b/tools/import_borrowers.pl @@ -72,7 +72,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { tools => 'import_patrons' }, - debug => 1, } ); diff --git a/tools/inventory.pl b/tools/inventory.pl index 7503e8ce5d..2ad5452015 100755 --- a/tools/inventory.pl +++ b/tools/inventory.pl @@ -64,7 +64,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { tools => 'inventory' }, - debug => 1, } ); diff --git a/tools/koha-news.pl b/tools/koha-news.pl index 2b62aaf057..388eed03ca 100755 --- a/tools/koha-news.pl +++ b/tools/koha-news.pl @@ -66,7 +66,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( query => $cgi, type => "intranet", flagsrequired => { tools => 'edit_news' }, - debug => 1, } ); diff --git a/tools/letter.pl b/tools/letter.pl index d6db271a6c..3ed44c3848 100755 --- a/tools/letter.pl +++ b/tools/letter.pl @@ -79,7 +79,6 @@ our ( $template, $borrowernumber, $cookie, $staffflags ) = get_template_and_user query => $input, type => 'intranet', flagsrequired => { tools => 'edit_notices' }, - debug => 1, } ); diff --git a/tools/manage-marc-import.pl b/tools/manage-marc-import.pl index eed338f759..8fcea16c03 100755 --- a/tools/manage-marc-import.pl +++ b/tools/manage-marc-import.pl @@ -54,7 +54,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => {tools => 'manage_staged_marc'}, - debug => 1, }); my %cookies = parse CGI::Cookie($cookie); diff --git a/tools/marc_modification_templates.pl b/tools/marc_modification_templates.pl index 69bea401d2..ffe5784a95 100755 --- a/tools/marc_modification_templates.pl +++ b/tools/marc_modification_templates.pl @@ -36,7 +36,6 @@ my ($template, $loggedinuser, $cookie) query => $cgi, type => "intranet", flagsrequired => { tools => 'marc_modification_templates' }, - debug => 1, }); if ( $op eq "create_template" ) { diff --git a/tools/overduerules.pl b/tools/overduerules.pl index 293c51c78a..b7860d8726 100755 --- a/tools/overduerules.pl +++ b/tools/overduerules.pl @@ -63,7 +63,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { tools => 'edit_notice_status_triggers' }, - debug => 1, } ); diff --git a/tools/picture-upload.pl b/tools/picture-upload.pl index 31dec5193e..1f00b9b074 100755 --- a/tools/picture-upload.pl +++ b/tools/picture-upload.pl @@ -48,7 +48,6 @@ my ($template, $loggedinuser, $cookie) query => $input, type => "intranet", flagsrequired => { tools => 'batch_upload_patron_images'}, - debug => 0, }); our $filetype = $input->param('filetype') || ''; diff --git a/tools/quotes-upload.pl b/tools/quotes-upload.pl index 8ca4583471..28ef9cef80 100755 --- a/tools/quotes-upload.pl +++ b/tools/quotes-upload.pl @@ -35,7 +35,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( query => $cgi, type => "intranet", flagsrequired => { tools => 'edit_quotes' }, - debug => 1, } ); diff --git a/tools/quotes.pl b/tools/quotes.pl index 57859f14b2..f87991a88b 100755 --- a/tools/quotes.pl +++ b/tools/quotes.pl @@ -33,7 +33,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { tools => 'edit_quotes' }, - debug => 1, } ); diff --git a/tools/scheduler.pl b/tools/scheduler.pl index 295a04bfdc..4e1d5d3feb 100755 --- a/tools/scheduler.pl +++ b/tools/scheduler.pl @@ -50,7 +50,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { tools => 'schedule_tasks' }, - debug => 1, } ); diff --git a/tools/showdiffmarc.pl b/tools/showdiffmarc.pl index c39d2ad91b..57da80e719 100755 --- a/tools/showdiffmarc.pl +++ b/tools/showdiffmarc.pl @@ -56,7 +56,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { tools => 'manage_staged_marc' }, - debug => 1, } ); diff --git a/tools/stage-marc-import.pl b/tools/stage-marc-import.pl index 9f285efe87..e9afdc1461 100755 --- a/tools/stage-marc-import.pl +++ b/tools/stage-marc-import.pl @@ -69,7 +69,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { tools => 'stage_marc_import' }, - debug => 1, } ); diff --git a/tools/tools-home.pl b/tools/tools-home.pl index 69fc092ae1..4a4ed2ceef 100755 --- a/tools/tools-home.pl +++ b/tools/tools-home.pl @@ -30,7 +30,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $query, type => "intranet", flagsrequired => { tools => '*' }, - debug => 1, } ); diff --git a/tools/upload-cover-image.pl b/tools/upload-cover-image.pl index 82b0bb50b1..74fd67a3e7 100755 --- a/tools/upload-cover-image.pl +++ b/tools/upload-cover-image.pl @@ -62,7 +62,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { tools => 'upload_local_cover_images' }, - debug => 0, } ); diff --git a/tools/viewlog.pl b/tools/viewlog.pl index e67e911c40..f14954d1c8 100755 --- a/tools/viewlog.pl +++ b/tools/viewlog.pl @@ -68,7 +68,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( query => $input, type => "intranet", flagsrequired => { tools => 'view_system_logs' }, - debug => 1, } ); -- 2.39.5