use wcf\system\devtools\pip\IIdempotentPackageInstallationPlugin;
use wcf\system\exception\PermissionDeniedException;
use wcf\system\exception\UserInputException;
+use wcf\system\language\LanguageFactory;
use wcf\system\package\SplitNodeException;
use wcf\system\search\SearchIndexManager;
use wcf\system\version\VersionTracker;
CacheHandler::getInstance()->flushAll();
+ if ($this->packageInstallationPlugin->pluginName === 'language') {
+ LanguageFactory::getInstance()->clearCache();
+ LanguageFactory::getInstance()->deleteLanguageCache();
+ }
+
return [
'pluginName' => $this->packageInstallationPlugin->pluginName,
'target' => $this->parameters['target'],