[Koha-patches] [PATCH] Bug 6061: clearing up system preference on update

Jonathan Druart jonathan.druart at biblibre.com
Wed Apr 6 17:36:47 CEST 2011


---
 misc/admin/koha-preferences |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/misc/admin/koha-preferences b/misc/admin/koha-preferences
index a9e33f4..6728609 100755
--- a/misc/admin/koha-preferences
+++ b/misc/admin/koha-preferences
@@ -125,6 +125,8 @@ sub SetPreferences {
 
         _set_preference( $row->{'variable'}, $preferences{$row->{'variable'}} );
     }
+
+    C4::Context->clear_syspref_cache();
 }
 
 sub _fetch_preference {
-- 
1.7.1



More information about the Koha-patches mailing list