namespace wcf\data\package\installation\plugin;
use wcf\data\devtools\project\DevtoolsProject;
use wcf\data\AbstractDatabaseObjectAction;
+use wcf\data\option\OptionEditor;
use wcf\system\cache\CacheHandler;
use wcf\system\devtools\pip\DevtoolsPackageInstallationDispatcher;
use wcf\system\devtools\pip\DevtoolsPip;
use wcf\system\exception\PermissionDeniedException;
use wcf\system\exception\UserInputException;
use wcf\system\language\LanguageFactory;
+use wcf\system\package\plugin\OptionPackageInstallationPlugin;
use wcf\system\package\SplitNodeException;
use wcf\system\search\SearchIndexManager;
use wcf\system\version\VersionTracker;
CacheHandler::getInstance()->flushAll();
+ if ($pip instanceof OptionPackageInstallationPlugin) {
+ OptionEditor::resetCache();
+ }
+
if ($this->packageInstallationPlugin->pluginName === 'language') {
LanguageFactory::getInstance()->clearCache();
LanguageFactory::getInstance()->deleteLanguageCache();