From add4855112a03c0c45d6d28a19a405bb6ab58296 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 Signed-off-by: Brendan Gallagher --- C4/Context.pm | 2 -- 1 file changed, 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.10.4