Removed debug code
authorAlexander Ebert <ebert@woltlab.com>
Mon, 19 Jun 2017 14:30:32 +0000 (16:30 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 19 Jun 2017 14:30:32 +0000 (16:30 +0200)
wcfsetup/install/files/lib/system/tagging/TagEngine.class.php

index 3a482f452f790b17c6b3777ae956e338b36dc0d4..49c95436e2c3dca4c774c16aaca91986b84abdb4 100644 (file)
@@ -219,7 +219,7 @@ class TagEngine extends SingletonFactory {
                        return null;
                }
                
-               $languageIDs = [14 => 2];
+               $languageIDs = [];
                foreach ($existingTags as $tag) {
                        if (!isset($languageIDs[$tag->languageID])) $languageIDs[$tag->languageID] = 0;
                        $languageIDs[$tag->languageID]++;