Fixed user group cache not properly reseted on edit
authorAlexander Ebert <ebert@woltlab.com>
Sat, 8 Jun 2013 21:38:45 +0000 (23:38 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Sat, 8 Jun 2013 21:38:45 +0000 (23:38 +0200)
wcfsetup/install/files/lib/acp/form/UserGroupEditForm.class.php

index 610b4ea9c61e05434be49a5806be34efff9d0675..a0993b45942ddda148c517777f59b7a739508787 100755 (executable)
@@ -13,7 +13,7 @@ use wcf\system\WCF;
  * Shows the group edit form.
  * 
  * @author     Marcel Werk
- * @copyright  2001-2012 WoltLab GmbH
+ * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
  * @package    com.woltlab.wcf
  * @subpackage acp.form
@@ -165,6 +165,9 @@ class UserGroupEditForm extends UserGroupAddForm {
                $this->objectAction->executeAction();
                $this->saved();
                
+               // reset user group cache
+               UserGroupEditor::resetCache();
+               
                // show success message
                WCF::getTPL()->assign('success', true);
        }