From 56e3b7959ec8ccd10c87066cdf075103c5fffc05 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sat, 17 Apr 2021 17:12:06 +0200 Subject: [PATCH] Fix update script to delete language items --- .../acp/update_com.woltlab.wcf_5.4_deleteLanguageItems.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.20.1