Browse Source

Bug 22026: Removed 'use Modern::Perl;' from Koha::REST::classes

Test plan:
1) Check all Koha/REST files and confirm that 'use Modern::Perl;' has
been removed.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
19.05.x
Jasmine Amohia 4 years ago
committed by Nick Clemens
parent
commit
ecc94da6b2
  1. 2
      Koha/REST/Plugin/Objects.pm
  2. 2
      Koha/REST/Plugin/Pagination.pm
  3. 2
      Koha/REST/Plugin/PluginRoutes.pm
  4. 2
      Koha/REST/Plugin/Query.pm
  5. 2
      Koha/REST/V1.pm
  6. 2
      Koha/REST/V1/Acquisitions/Vendors.pm
  7. 2
      Koha/REST/V1/Auth.pm
  8. 2
      Koha/REST/V1/Cities.pm
  9. 2
      Koha/REST/V1/Hold.pm
  10. 2
      Koha/REST/V1/Illrequests.pm
  11. 2
      Koha/REST/V1/OAuth.pm
  12. 2
      Koha/REST/V1/Patrons.pm
  13. 2
      Koha/REST/V1/Patrons/Account.pm
  14. 2
      Koha/REST/V1/Stage.pm

2
Koha/REST/Plugin/Objects.pm

@ -15,8 +15,6 @@ package Koha::REST::Plugin::Objects;
# with Koha; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
use Modern::Perl;
use Mojo::Base 'Mojolicious::Plugin';
=head1 NAME

2
Koha/REST/Plugin/Pagination.pm

@ -15,8 +15,6 @@ package Koha::REST::Plugin::Pagination;
# with Koha; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
use Modern::Perl;
use Mojo::Base 'Mojolicious::Plugin';
=head1 NAME

2
Koha/REST/Plugin/PluginRoutes.pm

@ -15,8 +15,6 @@ package Koha::REST::Plugin::PluginRoutes;
# with Koha; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
use Modern::Perl;
use Mojo::Base 'Mojolicious::Plugin';
use Koha::Exceptions::Plugin;

2
Koha/REST/Plugin/Query.pm

@ -15,8 +15,6 @@ package Koha::REST::Plugin::Query;
# with Koha; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
use Modern::Perl;
use Mojo::Base 'Mojolicious::Plugin';
use Koha::Exceptions;

2
Koha/REST/V1.pm

@ -15,8 +15,6 @@ package Koha::REST::V1;
# with Koha; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
use Modern::Perl;
use Mojo::Base 'Mojolicious';
use C4::Context;

2
Koha/REST/V1/Acquisitions/Vendors.pm

@ -15,8 +15,6 @@ package Koha::REST::V1::Acquisitions::Vendors;
# with Koha; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
use Modern::Perl;
use Mojo::Base 'Mojolicious::Controller';
use Koha::Acquisition::Booksellers;

2
Koha/REST/V1/Auth.pm

@ -17,8 +17,6 @@ package Koha::REST::V1::Auth;
# with Koha; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
use Modern::Perl;
use Mojo::Base 'Mojolicious::Controller';
use C4::Auth qw( check_cookie_auth get_session haspermission );

2
Koha/REST/V1/Cities.pm

@ -15,8 +15,6 @@ package Koha::REST::V1::Cities;
# with Koha; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
use Modern::Perl;
use Mojo::Base 'Mojolicious::Controller';
use Koha::Cities;

2
Koha/REST/V1/Hold.pm

@ -15,8 +15,6 @@ package Koha::REST::V1::Hold;
# with Koha; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
use Modern::Perl;
use Mojo::Base 'Mojolicious::Controller';
use C4::Biblio;

2
Koha/REST/V1/Illrequests.pm

@ -15,8 +15,6 @@ package Koha::REST::V1::Illrequests;
# with Koha; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
use Modern::Perl;
use Mojo::Base 'Mojolicious::Controller';
use Koha::Illrequests;

2
Koha/REST/V1/OAuth.pm

@ -15,8 +15,6 @@ package Koha::REST::V1::OAuth;
# with Koha; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
use Modern::Perl;
use Module::Load::Conditional;
use C4::Context;

2
Koha/REST/V1/Patrons.pm

@ -15,8 +15,6 @@ package Koha::REST::V1::Patrons;
# with Koha; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
use Modern::Perl;
use Mojo::Base 'Mojolicious::Controller';
use Koha::DateUtils;

2
Koha/REST/V1/Patrons/Account.pm

@ -15,8 +15,6 @@ package Koha::REST::V1::Patrons::Account;
# with Koha; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
use Modern::Perl;
use Mojo::Base 'Mojolicious::Controller';
use Koha::Patrons;

2
Koha/REST/V1/Stage.pm

@ -15,8 +15,6 @@ package Koha::REST::V1::Stage;
# with Koha; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
use Modern::Perl;
use Mojo::Base 'Mojolicious::Controller';
use Koha::StockRotationRotas;

Loading…
Cancel
Save