Bug 6061: clearing up system preference on update
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 6 Apr 2011 15:35:43 +0000 (17:35 +0200)
committerChris Cormack <chrisc@catalyst.net.nz>
Tue, 14 Jun 2011 02:16:48 +0000 (14:16 +1200)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
misc/admin/koha-preferences

index a9e33f4..6728609 100755 (executable)
@@ -125,6 +125,8 @@ sub SetPreferences {
 
         _set_preference( $row->{'variable'}, $preferences{$row->{'variable'}} );
     }
+
+    C4::Context->clear_syspref_cache();
 }
 
 sub _fetch_preference {