View | Details | Raw Unified | Return to bug 22026
Collapse All | Expand All

(-)a/Koha/REST/Plugin/Objects.pm (-2 lines)
Lines 15-22 package Koha::REST::Plugin::Objects; Link Here
15
# with Koha; if not, write to the Free Software Foundation, Inc.,
15
# with Koha; if not, write to the Free Software Foundation, Inc.,
16
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
16
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17
17
18
use Modern::Perl;
19
20
use Mojo::Base 'Mojolicious::Plugin';
18
use Mojo::Base 'Mojolicious::Plugin';
21
19
22
=head1 NAME
20
=head1 NAME
(-)a/Koha/REST/Plugin/Pagination.pm (-2 lines)
Lines 15-22 package Koha::REST::Plugin::Pagination; Link Here
15
# with Koha; if not, write to the Free Software Foundation, Inc.,
15
# with Koha; if not, write to the Free Software Foundation, Inc.,
16
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
16
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17
17
18
use Modern::Perl;
19
20
use Mojo::Base 'Mojolicious::Plugin';
18
use Mojo::Base 'Mojolicious::Plugin';
21
19
22
=head1 NAME
20
=head1 NAME
(-)a/Koha/REST/Plugin/PluginRoutes.pm (-2 lines)
Lines 15-22 package Koha::REST::Plugin::PluginRoutes; Link Here
15
# with Koha; if not, write to the Free Software Foundation, Inc.,
15
# with Koha; if not, write to the Free Software Foundation, Inc.,
16
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
16
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17
17
18
use Modern::Perl;
19
20
use Mojo::Base 'Mojolicious::Plugin';
18
use Mojo::Base 'Mojolicious::Plugin';
21
19
22
use Koha::Exceptions::Plugin;
20
use Koha::Exceptions::Plugin;
(-)a/Koha/REST/Plugin/Query.pm (-2 lines)
Lines 15-22 package Koha::REST::Plugin::Query; Link Here
15
# with Koha; if not, write to the Free Software Foundation, Inc.,
15
# with Koha; if not, write to the Free Software Foundation, Inc.,
16
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
16
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17
17
18
use Modern::Perl;
19
20
use Mojo::Base 'Mojolicious::Plugin';
18
use Mojo::Base 'Mojolicious::Plugin';
21
19
22
use Koha::Exceptions;
20
use Koha::Exceptions;
(-)a/Koha/REST/V1.pm (-2 lines)
Lines 15-22 package Koha::REST::V1; Link Here
15
# with Koha; if not, write to the Free Software Foundation, Inc.,
15
# with Koha; if not, write to the Free Software Foundation, Inc.,
16
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
16
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17
17
18
use Modern::Perl;
19
20
use Mojo::Base 'Mojolicious';
18
use Mojo::Base 'Mojolicious';
21
19
22
use C4::Context;
20
use C4::Context;
(-)a/Koha/REST/V1/Acquisitions/Vendors.pm (-2 lines)
Lines 15-22 package Koha::REST::V1::Acquisitions::Vendors; Link Here
15
# with Koha; if not, write to the Free Software Foundation, Inc.,
15
# with Koha; if not, write to the Free Software Foundation, Inc.,
16
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
16
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17
17
18
use Modern::Perl;
19
20
use Mojo::Base 'Mojolicious::Controller';
18
use Mojo::Base 'Mojolicious::Controller';
21
19
22
use Koha::Acquisition::Booksellers;
20
use Koha::Acquisition::Booksellers;
(-)a/Koha/REST/V1/Auth.pm (-2 lines)
Lines 17-24 package Koha::REST::V1::Auth; Link Here
17
# with Koha; if not, write to the Free Software Foundation, Inc.,
17
# with Koha; if not, write to the Free Software Foundation, Inc.,
18
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19
19
20
use Modern::Perl;
21
22
use Mojo::Base 'Mojolicious::Controller';
20
use Mojo::Base 'Mojolicious::Controller';
23
21
24
use C4::Auth qw( check_cookie_auth get_session haspermission );
22
use C4::Auth qw( check_cookie_auth get_session haspermission );
(-)a/Koha/REST/V1/Cities.pm (-2 lines)
Lines 15-22 package Koha::REST::V1::Cities; Link Here
15
# with Koha; if not, write to the Free Software Foundation, Inc.,
15
# with Koha; if not, write to the Free Software Foundation, Inc.,
16
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
16
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17
17
18
use Modern::Perl;
19
20
use Mojo::Base 'Mojolicious::Controller';
18
use Mojo::Base 'Mojolicious::Controller';
21
19
22
use Koha::Cities;
20
use Koha::Cities;
(-)a/Koha/REST/V1/Hold.pm (-2 lines)
Lines 15-22 package Koha::REST::V1::Hold; Link Here
15
# with Koha; if not, write to the Free Software Foundation, Inc.,
15
# with Koha; if not, write to the Free Software Foundation, Inc.,
16
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
16
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17
17
18
use Modern::Perl;
19
20
use Mojo::Base 'Mojolicious::Controller';
18
use Mojo::Base 'Mojolicious::Controller';
21
19
22
use C4::Biblio;
20
use C4::Biblio;
(-)a/Koha/REST/V1/Illrequests.pm (-2 lines)
Lines 15-22 package Koha::REST::V1::Illrequests; Link Here
15
# with Koha; if not, write to the Free Software Foundation, Inc.,
15
# with Koha; if not, write to the Free Software Foundation, Inc.,
16
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
16
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17
17
18
use Modern::Perl;
19
20
use Mojo::Base 'Mojolicious::Controller';
18
use Mojo::Base 'Mojolicious::Controller';
21
19
22
use Koha::Illrequests;
20
use Koha::Illrequests;
(-)a/Koha/REST/V1/OAuth.pm (-2 lines)
Lines 15-22 package Koha::REST::V1::OAuth; Link Here
15
# with Koha; if not, write to the Free Software Foundation, Inc.,
15
# with Koha; if not, write to the Free Software Foundation, Inc.,
16
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
16
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17
17
18
use Modern::Perl;
19
20
use Module::Load::Conditional;
18
use Module::Load::Conditional;
21
19
22
use C4::Context;
20
use C4::Context;
(-)a/Koha/REST/V1/Patrons.pm (-2 lines)
Lines 15-22 package Koha::REST::V1::Patrons; Link Here
15
# with Koha; if not, write to the Free Software Foundation, Inc.,
15
# with Koha; if not, write to the Free Software Foundation, Inc.,
16
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
16
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17
17
18
use Modern::Perl;
19
20
use Mojo::Base 'Mojolicious::Controller';
18
use Mojo::Base 'Mojolicious::Controller';
21
19
22
use Koha::DateUtils;
20
use Koha::DateUtils;
(-)a/Koha/REST/V1/Patrons/Account.pm (-2 lines)
Lines 15-22 package Koha::REST::V1::Patrons::Account; Link Here
15
# with Koha; if not, write to the Free Software Foundation, Inc.,
15
# with Koha; if not, write to the Free Software Foundation, Inc.,
16
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
16
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17
17
18
use Modern::Perl;
19
20
use Mojo::Base 'Mojolicious::Controller';
18
use Mojo::Base 'Mojolicious::Controller';
21
19
22
use Koha::Patrons;
20
use Koha::Patrons;
(-)a/Koha/REST/V1/Stage.pm (-3 lines)
Lines 15-22 package Koha::REST::V1::Stage; Link Here
15
# with Koha; if not, write to the Free Software Foundation, Inc.,
15
# with Koha; if not, write to the Free Software Foundation, Inc.,
16
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
16
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17
17
18
use Modern::Perl;
19
20
use Mojo::Base 'Mojolicious::Controller';
18
use Mojo::Base 'Mojolicious::Controller';
21
19
22
use Koha::StockRotationRotas;
20
use Koha::StockRotationRotas;
23
- 

Return to bug 22026