From 08101588db8a4585f9f3bd672753b54220b5f730 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Tue, 24 Jun 2014 21:29:08 +0200 Subject: [PATCH] Added workaround for broken detection of obsolete use tags in zend studio --- .../install/files/lib/data/application/Application.class.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/data/application/Application.class.php b/wcfsetup/install/files/lib/data/application/Application.class.php index 9449baea8f..12576905b9 100644 --- a/wcfsetup/install/files/lib/data/application/Application.class.php +++ b/wcfsetup/install/files/lib/data/application/Application.class.php @@ -1,6 +1,7 @@ getConditionBuilder()->add('package.isApplication = ?', array(1)); $packageList->readObjects(); foreach ($packageList as $package) { - static::$directories[Package::getAbbreviation($package->package)] = FileUtil::addTrailingSlash(FileUtil::getRealPath(WCF_DIR.$package->packageDir)); + $abbr = Package::getAbbreviation($package->package); + static::$directories[$abbr] = FileUtil::addTrailingSlash(FileUtil::getRealPath(WCF_DIR.$package->packageDir)); } } -- 2.20.1