Bugzilla – Attachment 55301 Details for
Bug 17189
Add the ability to define several memcached namespaces
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17189: Replace occurrences of 'use Koha::Cache'
Bug-17189-Replace-occurrences-of-use-KohaCache.patch (text/plain), 5.13 KB, created by
Jacek Ablewicz
on 2016-09-07 13:50:03 UTC
(
hide
)
Description:
Bug 17189: Replace occurrences of 'use Koha::Cache'
Filename:
MIME Type:
Creator:
Jacek Ablewicz
Created:
2016-09-07 13:50:03 UTC
Size:
5.13 KB
patch
obsolete
>From ce0e2f70de98e4ba6019849302611fb4a4532812 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 7 Sep 2016 11:58:05 +0100 >Subject: [PATCH] Bug 17189: Replace occurrences of 'use Koha::Cache' > >Signed-off-by: Jacek Ablewicz <abl@biblos.pk.edu.pl> >--- > C4/Biblio.pm | 2 +- > C4/Calendar.pm | 2 +- > C4/External/OverDrive.pm | 2 +- > C4/Koha.pm | 2 +- > C4/Utils/DataTables/ColumnsSettings.pm | 2 +- > Koha/Calendar.pm | 2 +- > admin/biblio_framework.pl | 2 +- > admin/marctagstructure.pl | 2 +- > opac/svc/report | 2 +- > svc/report | 2 +- > t/Calendar.t | 2 +- > t/db_dependent/Filter_MARC_ViewPolicy.t | 2 +- > tools/newHolidays.pl | 2 +- > 13 files changed, 13 insertions(+), 13 deletions(-) > >diff --git a/C4/Biblio.pm b/C4/Biblio.pm >index 8865daa..04a6353 100644 >--- a/C4/Biblio.pm >+++ b/C4/Biblio.pm >@@ -39,7 +39,7 @@ use C4::Linker; > use C4::OAI::Sets; > use C4::Debug; > >-use Koha::Cache; >+use Koha::Caches; > use Koha::Authority::Types; > use Koha::Acquisition::Currencies; > use Koha::SearchEngine; >diff --git a/C4/Calendar.pm b/C4/Calendar.pm >index 18a23ab..2c1b0d8 100644 >--- a/C4/Calendar.pm >+++ b/C4/Calendar.pm >@@ -23,7 +23,7 @@ use Carp; > use Date::Calc qw( Date_to_Days Today); > > use C4::Context; >-use Koha::Cache; >+use Koha::Caches; > > use constant ISO_DATE_FORMAT => "%04d-%02d-%02d"; > >diff --git a/C4/External/OverDrive.pm b/C4/External/OverDrive.pm >index 1093a1b..9044169 100644 >--- a/C4/External/OverDrive.pm >+++ b/C4/External/OverDrive.pm >@@ -22,7 +22,7 @@ use warnings; > > use Koha; > use JSON; >-use Koha::Cache; >+use Koha::Caches; > use HTTP::Request; > use HTTP::Request::Common; > use LWP::Authen::Basic; >diff --git a/C4/Koha.pm b/C4/Koha.pm >index d82ad1e..e2d43b0 100644 >--- a/C4/Koha.pm >+++ b/C4/Koha.pm >@@ -25,7 +25,7 @@ use strict; > > use C4::Context; > use C4::Branch; # Can be removed? >-use Koha::Cache; >+use Koha::Caches; > use Koha::DateUtils qw(dt_from_string); > use Koha::Libraries; > use DateTime::Format::MySQL; >diff --git a/C4/Utils/DataTables/ColumnsSettings.pm b/C4/Utils/DataTables/ColumnsSettings.pm >index 9e838d6..8713489 100644 >--- a/C4/Utils/DataTables/ColumnsSettings.pm >+++ b/C4/Utils/DataTables/ColumnsSettings.pm >@@ -5,7 +5,7 @@ use List::Util qw( first ); > use YAML; > use C4::Context; > use Koha::Database; >-use Koha::Cache; >+use Koha::Caches; > > sub get_yaml { > my $yml_path = C4::Context->config('intranetdir') . '/admin/columns_settings.yml'; >diff --git a/Koha/Calendar.pm b/Koha/Calendar.pm >index 4b48ae2..0065044 100644 >--- a/Koha/Calendar.pm >+++ b/Koha/Calendar.pm >@@ -7,7 +7,7 @@ use DateTime; > use DateTime::Set; > use DateTime::Duration; > use C4::Context; >-use Koha::Cache; >+use Koha::Caches; > use Carp; > > sub new { >diff --git a/admin/biblio_framework.pl b/admin/biblio_framework.pl >index 57839b9..dd4af97 100755 >--- a/admin/biblio_framework.pl >+++ b/admin/biblio_framework.pl >@@ -26,7 +26,7 @@ use C4::Output; > use Koha::Biblios; > use Koha::BiblioFramework; > use Koha::BiblioFrameworks; >-use Koha::Cache; >+use Koha::Caches; > > my $input = new CGI; > my $frameworkcode = $input->param('frameworkcode') || q||; >diff --git a/admin/marctagstructure.pl b/admin/marctagstructure.pl >index 3ea47ed..784fb50 100755 >--- a/admin/marctagstructure.pl >+++ b/admin/marctagstructure.pl >@@ -27,7 +27,7 @@ use C4::Context; > use C4::Output; > use C4::Context; > >-use Koha::Cache; >+use Koha::Caches; > > # retrieve parameters > my $input = new CGI; >diff --git a/opac/svc/report b/opac/svc/report >index 9cc21a3..d2f953d 100755 >--- a/opac/svc/report >+++ b/opac/svc/report >@@ -27,7 +27,7 @@ use C4::Reports::Guided; > use JSON; > use CGI qw ( -utf8 ); > >-use Koha::Cache; >+use Koha::Caches; > > my $query = CGI->new(); > my $report_id = $query->param('id'); >diff --git a/svc/report b/svc/report >index c7e4053..8a8bc26 100755 >--- a/svc/report >+++ b/svc/report >@@ -25,7 +25,7 @@ use C4::Reports::Guided; > use JSON; > use CGI qw ( -utf8 ); > >-use Koha::Cache; >+use Koha::Caches; > > > my $query = CGI->new(); >diff --git a/t/Calendar.t b/t/Calendar.t >index 7563753..3082271 100755 >--- a/t/Calendar.t >+++ b/t/Calendar.t >@@ -22,7 +22,7 @@ use Test::MockModule; > > use DateTime; > use DateTime::Duration; >-use Koha::Cache; >+use Koha::Caches; > use Koha::DateUtils; > > use Module::Load::Conditional qw/check_install/; >diff --git a/t/db_dependent/Filter_MARC_ViewPolicy.t b/t/db_dependent/Filter_MARC_ViewPolicy.t >index 709aea9..ab82632 100644 >--- a/t/db_dependent/Filter_MARC_ViewPolicy.t >+++ b/t/db_dependent/Filter_MARC_ViewPolicy.t >@@ -30,7 +30,7 @@ use MARC::Record; > use MARC::Field; > use C4::Context; > use C4::Biblio; >-use Koha::Cache qw/flush_all/; >+use Koha::Caches; > use Koha::Database; > > BEGIN { >diff --git a/tools/newHolidays.pl b/tools/newHolidays.pl >index f36f0e0..822867c 100755 >--- a/tools/newHolidays.pl >+++ b/tools/newHolidays.pl >@@ -10,7 +10,7 @@ use CGI qw ( -utf8 ); > use C4::Auth; > use C4::Output; > >-use Koha::Cache; >+use Koha::Caches; > > use C4::Calendar; > use DateTime; >-- >1.7.10.4
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 17189
:
54815
|
54816
|
54817
|
55284
|
55285
|
55286
|
55291
|
55292
|
55293
|
55294
|
55295
|
55301
|
55302
|
55316
|
55317
|
55318
|
55319
|
55320
|
55321
|
55341