Drop obsolete update_com.woltlab.wcf.conversation_5.4_deleteLanguageItems.php
authorTim Düsterhus <duesterhus@woltlab.com>
Wed, 8 Dec 2021 09:34:03 +0000 (10:34 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Wed, 8 Dec 2021 09:34:27 +0000 (10:34 +0100)
fileDelete.xml
files/acp/update_com.woltlab.wcf.conversation_5.4_deleteLanguageItems.php [deleted file]

index 0b026fc8c2fb90bacf90e06d14806beebd5fc164..69438791bbf2b9c6f0cf313611fdd79a863e6efa 100644 (file)
@@ -5,6 +5,7 @@
                <file>acp/update_com.woltlab.wcf.conversation_3.0_dropColumns.php</file>
                <file>acp/update_com.woltlab.wcf.conversation_3.1_addColumn.php</file>
                <file>acp/update_com.woltlab.wcf.conversation_5.2.php</file>
+               <file>acp/update_com.woltlab.wcf.conversation_5.4_deleteLanguageItems.php</file>
                <file>js/require.build.min.js</file>
                <file>js/WoltLab/Conversation/Ui/Participant/Add.js</file>
                <file>js/WoltLab/Conversation/UI/Participant/Add.js</file>
diff --git a/files/acp/update_com.woltlab.wcf.conversation_5.4_deleteLanguageItems.php b/files/acp/update_com.woltlab.wcf.conversation_5.4_deleteLanguageItems.php
deleted file mode 100644 (file)
index 42a26b6..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<?php
-
-use wcf\data\language\item\LanguageItemAction;
-use wcf\data\language\item\LanguageItemList;
-
-$languageItems = [
-    'wcf.acp.group.option.user.conversation.allowedAttachmentExtensions.description',
-];
-
-$languageItemList = new LanguageItemList();
-$languageItemList->getConditionBuilder()->add('languageItem IN (?)', [$languageItems]);
-$languageItemList->readObjects();
-
-(new LanguageItemAction($languageItemList->getObjects(), 'delete'))->executeAction();