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

(-)a/C4/Context.pm (-3 lines)
Lines 523-531 with this method. Link Here
523
# flushing the caching mechanism.
523
# flushing the caching mechanism.
524
524
525
my %sysprefs;
525
my %sysprefs;
526
sub _flush_preferences {
527
    %sysprefs = ();
528
}
529
526
530
sub preference {
527
sub preference {
531
    my $self = shift;
528
    my $self = shift;
(-)a/t/db_dependent/HoldsQueue.t (-2 / +1 lines)
Lines 152-158 sub test_queue { Link Here
152
    $test_name = "$test_name (".($use_cost_matrix ? "" : "don't")." use cost matrix)";
152
    $test_name = "$test_name (".($use_cost_matrix ? "" : "don't")." use cost matrix)";
153
153
154
    $use_cost_matrix_sth->execute($use_cost_matrix);
154
    $use_cost_matrix_sth->execute($use_cost_matrix);
155
    C4::Context->_flush_preferences();
155
    C4::Context->clear_syspref_cache();
156
    C4::HoldsQueue::CreateQueue();
156
    C4::HoldsQueue::CreateQueue();
157
157
158
    my $results = $dbh->selectall_arrayref($test_sth, { Slice => {} }); # should be only one
158
    my $results = $dbh->selectall_arrayref($test_sth, { Slice => {} }); # should be only one
159
- 

Return to bug 5911