Bugzilla – Attachment 10733 Details for
Bug 5911
Transport Cost Matrix of transporting an item between branches
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
bug_5911: removed duplicate _flush_preferences(), and replaced with clear_syspref_cache()
bug5911-removed-duplicate-flushpreferences-and-rep.patch (text/plain), 1.23 KB, created by
Srdjan Jankovic
on 2012-07-10 03:36:32 UTC
(
hide
)
Description:
bug_5911: removed duplicate _flush_preferences(), and replaced with clear_syspref_cache()
Filename:
MIME Type:
Creator:
Srdjan Jankovic
Created:
2012-07-10 03:36:32 UTC
Size:
1.23 KB
patch
obsolete
>From c451af0b5d9a557e375f6b993a8a6da2833722f8 Mon Sep 17 00:00:00 2001 >From: Srdjan <srdjan@catalyst.net.nz> >Date: Tue, 10 Jul 2012 15:34:16 +1200 >Subject: [PATCH] bug_5911: removed duplicate _flush_preferences(), and > replaced with clear_syspref_cache() > >--- > C4/Context.pm | 3 --- > t/db_dependent/HoldsQueue.t | 2 +- > 2 files changed, 1 insertion(+), 4 deletions(-) > >diff --git a/C4/Context.pm b/C4/Context.pm >index 251299d..9ce6c74 100644 >--- a/C4/Context.pm >+++ b/C4/Context.pm >@@ -523,9 +523,6 @@ with this method. > # flushing the caching mechanism. > > my %sysprefs; >-sub _flush_preferences { >- %sysprefs = (); >-} > > sub preference { > my $self = shift; >diff --git a/t/db_dependent/HoldsQueue.t b/t/db_dependent/HoldsQueue.t >index 7e882db..b130bac 100755 >--- a/t/db_dependent/HoldsQueue.t >+++ b/t/db_dependent/HoldsQueue.t >@@ -152,7 +152,7 @@ sub test_queue { > $test_name = "$test_name (".($use_cost_matrix ? "" : "don't")." use cost matrix)"; > > $use_cost_matrix_sth->execute($use_cost_matrix); >- C4::Context->_flush_preferences(); >+ C4::Context->clear_syspref_cache(); > C4::HoldsQueue::CreateQueue(); > > my $results = $dbh->selectall_arrayref($test_sth, { Slice => {} }); # should be only one >-- >1.7.9.5
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 5911
:
3559
|
4689
|
7799
|
9576
|
9600
|
9626
|
9752
|
9850
|
10241
|
10431
|
10733
|
10882
|
10919
|
11075
|
11095
|
11096
|
11140
|
11144
|
11777
|
11820
|
11971