From 728cf875c168eda93444067672abd9241487ddd5 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Sun, 8 Apr 2018 12:09:47 +0200 Subject: [PATCH] Removed obsolete code --- .../files/lib/data/label/group/LabelGroupAction.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wcfsetup/install/files/lib/data/label/group/LabelGroupAction.class.php b/wcfsetup/install/files/lib/data/label/group/LabelGroupAction.class.php index 361ef1f5ce..4de3406d2c 100644 --- a/wcfsetup/install/files/lib/data/label/group/LabelGroupAction.class.php +++ b/wcfsetup/install/files/lib/data/label/group/LabelGroupAction.class.php @@ -71,9 +71,8 @@ class LabelGroupAction extends AbstractDatabaseObjectAction { if (!empty($this->objects)) { // identify i18n labels - $languageVariables = $groupIDs = []; + $languageVariables = []; foreach ($this->objects as $labelGroup) { - $groupIDs = $labelGroup->groupID; if ($labelGroup->groupName === 'wcf.acp.label.group' . $labelGroup->groupID) { $languageVariables[] = $labelGroup->groupName; } -- 2.20.1