From: Matthias Schmidt Date: Fri, 23 Sep 2016 20:26:26 +0000 (+0200) Subject: Clear page cache in LanguageEditor::copyLanguageContent() X-Git-Tag: 3.0.0_Beta_1~12 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4f45632438693ae7cea01b70e636c5ba52c08813;p=GitHub%2FWoltLab%2FWCF.git Clear page cache in LanguageEditor::copyLanguageContent() --- diff --git a/wcfsetup/install/files/lib/data/language/LanguageEditor.class.php b/wcfsetup/install/files/lib/data/language/LanguageEditor.class.php index d1568c3f94..5250eccb1d 100644 --- a/wcfsetup/install/files/lib/data/language/LanguageEditor.class.php +++ b/wcfsetup/install/files/lib/data/language/LanguageEditor.class.php @@ -4,6 +4,7 @@ use wcf\data\language\category\LanguageCategory; use wcf\data\language\category\LanguageCategoryEditor; use wcf\data\language\item\LanguageItemEditor; use wcf\data\language\item\LanguageItemList; +use wcf\data\page\PageEditor; use wcf\data\DatabaseObjectEditor; use wcf\data\IEditableCachedObject; use wcf\system\cache\builder\LanguageCacheBuilder; @@ -586,5 +587,7 @@ class LanguageEditor extends DatabaseObjectEditor implements IEditableCachedObje WHERE languageID = ?"; $statement = WCF::getDB()->prepareStatement($sql); $statement->execute([$destinationLanguageID, $destinationLanguageID, $sourceLanguageID]); + + PageEditor::resetCache(); } }