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>
This commit is contained in:
parent
ddc4c5b8aa
commit
ecc94da6b2
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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 );
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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…
Reference in New Issue