From: Matthias Schmidt Date: Sat, 17 Apr 2021 15:12:06 +0000 (+0200) Subject: Fix update script to delete language items X-Git-Tag: 5.4.0_Alpha_1~79 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=56e3b7959ec8ccd10c87066cdf075103c5fffc05;p=GitHub%2FWoltLab%2FWCF.git Fix update script to delete language items --- diff --git a/wcfsetup/install/files/acp/update_com.woltlab.wcf_5.4_deleteLanguageItems.php b/wcfsetup/install/files/acp/update_com.woltlab.wcf_5.4_deleteLanguageItems.php index dc35b801d5..16a1b6993f 100644 --- a/wcfsetup/install/files/acp/update_com.woltlab.wcf_5.4_deleteLanguageItems.php +++ b/wcfsetup/install/files/acp/update_com.woltlab.wcf_5.4_deleteLanguageItems.php @@ -13,4 +13,4 @@ $languageItemList = new LanguageItemList(); $languageItemList->getConditionBuilder()->add('languageItem IN (?)', [$languageItems]); $languageItemList->readObjects(); -(new LanguageItemAction([$languageItemList->getObjects()], 'delete'))->executeAction(); +(new LanguageItemAction($languageItemList->getObjects(), 'delete'))->executeAction();