Force cache reset if options were changed
authorAlexander Ebert <ebert@woltlab.com>
Sat, 13 Oct 2012 23:59:33 +0000 (01:59 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Sat, 13 Oct 2012 23:59:33 +0000 (01:59 +0200)
Fixes #645

wcfsetup/install/files/lib/data/option/OptionEditor.class.php

index 2f094f025f26baaaabc3730c5aba31d87a009904..d7f65b9cca517de9202d0684c4be5d295ef56ccf 100644 (file)
@@ -76,6 +76,9 @@ class OptionEditor extends DatabaseObjectEditor implements IEditableCachedObject
                                $id
                        ));
                }
+               
+               // force a cache reset if options were changed
+               self::resetCache();
        }
        
        /**