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

(-)a/C4/Biblio.pm (-1 / +1 lines)
Lines 39-45 use C4::Linker; Link Here
39
use C4::OAI::Sets;
39
use C4::OAI::Sets;
40
use C4::Debug;
40
use C4::Debug;
41
41
42
use Koha::Cache;
42
use Koha::Caches;
43
use Koha::Authority::Types;
43
use Koha::Authority::Types;
44
use Koha::Acquisition::Currencies;
44
use Koha::Acquisition::Currencies;
45
use Koha::SearchEngine;
45
use Koha::SearchEngine;
(-)a/C4/Calendar.pm (-1 / +1 lines)
Lines 23-29 use Carp; Link Here
23
use Date::Calc qw( Date_to_Days Today);
23
use Date::Calc qw( Date_to_Days Today);
24
24
25
use C4::Context;
25
use C4::Context;
26
use Koha::Cache;
26
use Koha::Caches;
27
27
28
use constant ISO_DATE_FORMAT => "%04d-%02d-%02d";
28
use constant ISO_DATE_FORMAT => "%04d-%02d-%02d";
29
29
(-)a/C4/External/OverDrive.pm (-1 / +1 lines)
Lines 22-28 use warnings; Link Here
22
22
23
use Koha;
23
use Koha;
24
use JSON;
24
use JSON;
25
use Koha::Cache;
25
use Koha::Caches;
26
use HTTP::Request;
26
use HTTP::Request;
27
use HTTP::Request::Common;
27
use HTTP::Request::Common;
28
use LWP::Authen::Basic;
28
use LWP::Authen::Basic;
(-)a/C4/Koha.pm (-1 / +1 lines)
Lines 25-31 use strict; Link Here
25
25
26
use C4::Context;
26
use C4::Context;
27
use C4::Branch; # Can be removed?
27
use C4::Branch; # Can be removed?
28
use Koha::Cache;
28
use Koha::Caches;
29
use Koha::DateUtils qw(dt_from_string);
29
use Koha::DateUtils qw(dt_from_string);
30
use Koha::Libraries;
30
use Koha::Libraries;
31
use DateTime::Format::MySQL;
31
use DateTime::Format::MySQL;
(-)a/C4/Utils/DataTables/ColumnsSettings.pm (-1 / +1 lines)
Lines 5-11 use List::Util qw( first ); Link Here
5
use YAML;
5
use YAML;
6
use C4::Context;
6
use C4::Context;
7
use Koha::Database;
7
use Koha::Database;
8
use Koha::Cache;
8
use Koha::Caches;
9
9
10
sub get_yaml {
10
sub get_yaml {
11
    my $yml_path = C4::Context->config('intranetdir') . '/admin/columns_settings.yml';
11
    my $yml_path = C4::Context->config('intranetdir') . '/admin/columns_settings.yml';
(-)a/Koha/Calendar.pm (-1 / +1 lines)
Lines 7-13 use DateTime; Link Here
7
use DateTime::Set;
7
use DateTime::Set;
8
use DateTime::Duration;
8
use DateTime::Duration;
9
use C4::Context;
9
use C4::Context;
10
use Koha::Cache;
10
use Koha::Caches;
11
use Carp;
11
use Carp;
12
12
13
sub new {
13
sub new {
(-)a/admin/biblio_framework.pl (-1 / +1 lines)
Lines 26-32 use C4::Output; Link Here
26
use Koha::Biblios;
26
use Koha::Biblios;
27
use Koha::BiblioFramework;
27
use Koha::BiblioFramework;
28
use Koha::BiblioFrameworks;
28
use Koha::BiblioFrameworks;
29
use Koha::Cache;
29
use Koha::Caches;
30
30
31
my $input         = new CGI;
31
my $input         = new CGI;
32
my $frameworkcode = $input->param('frameworkcode') || q||;
32
my $frameworkcode = $input->param('frameworkcode') || q||;
(-)a/admin/marctagstructure.pl (-1 / +1 lines)
Lines 27-33 use C4::Context; Link Here
27
use C4::Output;
27
use C4::Output;
28
use C4::Context;
28
use C4::Context;
29
29
30
use Koha::Cache;
30
use Koha::Caches;
31
31
32
# retrieve parameters
32
# retrieve parameters
33
my $input = new CGI;
33
my $input = new CGI;
(-)a/t/Calendar.t (-1 / +1 lines)
Lines 22-28 use Test::MockModule; Link Here
22
22
23
use DateTime;
23
use DateTime;
24
use DateTime::Duration;
24
use DateTime::Duration;
25
use Koha::Cache;
25
use Koha::Caches;
26
use Koha::DateUtils;
26
use Koha::DateUtils;
27
27
28
use Module::Load::Conditional qw/check_install/;
28
use Module::Load::Conditional qw/check_install/;
(-)a/t/db_dependent/Filter_MARC_ViewPolicy.t (-1 / +1 lines)
Lines 30-36 use MARC::Record; Link Here
30
use MARC::Field;
30
use MARC::Field;
31
use C4::Context;
31
use C4::Context;
32
use C4::Biblio;
32
use C4::Biblio;
33
use Koha::Cache qw/flush_all/;
33
use Koha::Caches;
34
use Koha::Database;
34
use Koha::Database;
35
35
36
BEGIN {
36
BEGIN {
(-)a/tools/newHolidays.pl (-2 / +1 lines)
Lines 10-16 use CGI qw ( -utf8 ); Link Here
10
use C4::Auth;
10
use C4::Auth;
11
use C4::Output;
11
use C4::Output;
12
12
13
use Koha::Cache;
13
use Koha::Caches;
14
14
15
use C4::Calendar;
15
use C4::Calendar;
16
use DateTime;
16
use DateTime;
17
- 

Return to bug 17189