use wcf\form\AbstractForm;
use wcf\system\exception\IllegalLinkException;
use wcf\system\exception\UserInputException;
-use wcf\system\language\LanguageFactory;
use wcf\system\Regex;
use wcf\system\WCF;
use wcf\util\FileUtil;
// re-calculate cookie settings
ApplicationHandler::rebuild();
- // rebuild templates
- LanguageFactory::getInstance()->deleteLanguageCache();
-
// show success.
WCF::getTPL()->assign(array(
'success' => true
<?php
namespace wcf\data\application;
use wcf\data\AbstractDatabaseObjectAction;
+use wcf\system\cache\builder\ApplicationCacheBuilder;
use wcf\system\exception\PermissionDeniedException;
use wcf\system\exception\UserInputException;
+use wcf\system\language\LanguageFactory;
use wcf\system\WCF;
use wcf\util\FileUtil;
use wcf\util\StringUtil;
}
}
WCF::getDB()->commitTransaction();
+
+ // rebuild templates
+ LanguageFactory::getInstance()->deleteLanguageCache();
+
+ // reset application cache
+ ApplicationCacheBuilder::getInstance()->reset();
}
/**