From 8cff30aa3492ac97f9ce0d1c516143036679fede Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Thu, 5 Mar 2015 12:36:18 +0100 Subject: [PATCH] Bug 11998 - Syspref caching issues fix delete_preference method and make t/db_dependent/sysprefs.t pass again --- C4/Context.pm | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/C4/Context.pm b/C4/Context.pm index 3b01e2a..4531ddf 100644 --- a/C4/Context.pm +++ b/C4/Context.pm @@ -661,8 +661,6 @@ sub delete_preference { if ( Koha::Config::SystemPreference::delete($var) ) { $syspref_cache->clear_from_cache("syspref_$var") if $use_syspref_cache; - logaction( $dbh, userenv(), 'SYSTEMPREFERENCE', 'DELETE', undef, - $var . " | " . ( $val // 'undefined' ) ); return 1; } return 0; -- 1.7.2.5