Bugzilla – Attachment 71183 Details for
Bug 20016
use Modern::Perl in svc scripts
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20016: use Modern::Perl in svc scripts
Bug-20016-use-ModernPerl-in-svc-scripts.patch (text/plain), 3.10 KB, created by
Katrin Fischer
on 2018-02-04 13:20:04 UTC
(
hide
)
Description:
Bug 20016: use Modern::Perl in svc scripts
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2018-02-04 13:20:04 UTC
Size:
3.10 KB
patch
obsolete
>From 54a6894803fe17e944f65c9a7f3abceb4a71893f Mon Sep 17 00:00:00 2001 >From: Zoe Bennett <zoebennett1308@gmail.com> >Date: Thu, 18 Jan 2018 03:24:23 +0000 >Subject: [PATCH] Bug 20016: use Modern::Perl in svc scripts > >Test Plan: >- Check that it now says 'use Modern::Perl' and not 'use trict; use >warnings;' in the follwing plugins svc scripts > >authentication >bib >bib_profile >checkouts >config/systempreferences >import_bib >new_bib > >https://bugs.koha-community.org/show_bug.cgi?id=20016 >Signed-off-by: Jon Knight <J.P.Knight@lboro.ac.uk> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > svc/authentication | 3 +-- > svc/bib | 3 +-- > svc/bib_profile | 3 +-- > svc/checkouts | 3 +-- > svc/config/systempreferences | 3 +-- > svc/import_bib | 3 +-- > svc/new_bib | 3 +-- > 7 files changed, 7 insertions(+), 14 deletions(-) > >diff --git a/svc/authentication b/svc/authentication >index 08d30d08b6..89aa648b77 100755 >--- a/svc/authentication >+++ b/svc/authentication >@@ -18,8 +18,7 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > # > >-use strict; >-use warnings; >+use Modern::Perl; > > use CGI qw ( -utf8 ); > use C4::Auth qw/check_api_auth/; >diff --git a/svc/bib b/svc/bib >index 0b9d62171f..36fa461702 100755 >--- a/svc/bib >+++ b/svc/bib >@@ -19,8 +19,7 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > # > >-use strict; >-use warnings; >+use Modern::Perl; > > use CGI qw ( -utf8 ); > use C4::Auth qw/check_api_auth/; >diff --git a/svc/bib_profile b/svc/bib_profile >index 0c1bc8e41b..7203f0ce9d 100755 >--- a/svc/bib_profile >+++ b/svc/bib_profile >@@ -18,8 +18,7 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > # > >-use strict; >-use warnings; >+use Modern::Perl; > > use CGI qw ( -utf8 ); > use C4::Auth qw/check_api_auth/; >diff --git a/svc/checkouts b/svc/checkouts >index e42f36927e..2879356933 100755 >--- a/svc/checkouts >+++ b/svc/checkouts >@@ -17,8 +17,7 @@ > # with Koha; if not, write to the Free Software Foundation, Inc., > # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. > >-use strict; >-use warnings; >+use Modern::Perl; > > use CGI; > use JSON qw(to_json); >diff --git a/svc/config/systempreferences b/svc/config/systempreferences >index 89c53398b8..675c1605cc 100755 >--- a/svc/config/systempreferences >+++ b/svc/config/systempreferences >@@ -18,8 +18,7 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > # > >-use strict; >-use warnings; >+use Modern::Perl; > > use C4::Context; > use C4::Service; >diff --git a/svc/import_bib b/svc/import_bib >index c6112249f3..8577036ed9 100755 >--- a/svc/import_bib >+++ b/svc/import_bib >@@ -18,8 +18,7 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > # > >-use strict; >-use warnings; >+use Modern::Perl; > > use CGI qw ( -utf8 ); > use C4::Auth qw/check_api_auth/; >diff --git a/svc/new_bib b/svc/new_bib >index 4f44d7ee96..d53f405a9f 100755 >--- a/svc/new_bib >+++ b/svc/new_bib >@@ -18,8 +18,7 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > # > >-use strict; >-use warnings; >+use Modern::Perl; > > use CGI qw ( -utf8 ); > use C4::Auth qw/check_api_auth/; >-- >2.14.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 20016
:
70671
|
70899
| 71183