Merge branch 'refs/heads/master' into enhancement/cleanup
authorMatthias Schmidt <gravatronics@live.com>
Wed, 5 Dec 2012 09:36:45 +0000 (10:36 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Wed, 5 Dec 2012 09:36:45 +0000 (10:36 +0100)
Conflicts:
wcfsetup/install/files/lib/data/cronjob/log/CronjobLogEditor.class.php
wcfsetup/install/files/lib/data/language/LanguageEditor.class.php
wcfsetup/install/files/lib/data/package/Package.class.php
wcfsetup/install/files/lib/data/template/Template.class.php
wcfsetup/install/files/lib/data/user/group/UserGroup.class.php
wcfsetup/install/files/lib/system/WCF.class.php
wcfsetup/install/files/lib/system/application/ApplicationHandler.class.php
wcfsetup/install/files/lib/system/cache/builder/ACPMenuCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/ApplicationCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/CleanupAdapterCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/EventListenerCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/LanguageCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/OptionCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/PackageDependencyCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/PageMenuCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/StyleCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/TemplateCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/TemplateListenerCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/TemplateListenerCodeCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/UserGroupPermissionCacheBuilder.class.php
wcfsetup/install/files/lib/system/package/PackageArchive.class.php
wcfsetup/install/files/lib/system/package/PackageDependencyHandler.class.php
wcfsetup/install/files/lib/system/package/plugin/LanguagePackageInstallationPlugin.class.php
wcfsetup/install/files/lib/system/search/acp/MenuItemACPSearchResultProvider.class.php

58 files changed:
1  2 
wcfsetup/install/files/lib/acp/action/CacheClearAction.class.php
wcfsetup/install/files/lib/acp/form/UserGroupOptionForm.class.php
wcfsetup/install/files/lib/data/category/CategoryEditor.class.php
wcfsetup/install/files/lib/data/cronjob/Cronjob.class.php
wcfsetup/install/files/lib/data/cronjob/log/CronjobLogEditor.class.php
wcfsetup/install/files/lib/data/language/Language.class.php
wcfsetup/install/files/lib/data/language/LanguageEditor.class.php
wcfsetup/install/files/lib/data/object/type/ObjectTypeCache.class.php
wcfsetup/install/files/lib/data/option/Option.class.php
wcfsetup/install/files/lib/data/option/OptionEditor.class.php
wcfsetup/install/files/lib/data/package/Package.class.php
wcfsetup/install/files/lib/data/package/PackageCache.class.php
wcfsetup/install/files/lib/data/style/StyleEditor.class.php
wcfsetup/install/files/lib/data/user/User.class.php
wcfsetup/install/files/lib/data/user/group/UserGroup.class.php
wcfsetup/install/files/lib/data/user/group/UserGroupEditor.class.php
wcfsetup/install/files/lib/system/WCF.class.php
wcfsetup/install/files/lib/system/WCFACP.class.php
wcfsetup/install/files/lib/system/WCFSetup.class.php
wcfsetup/install/files/lib/system/application/ApplicationHandler.class.php
wcfsetup/install/files/lib/system/cache/builder/ACPMenuCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/CategoryCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/EventListenerCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/IconCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/ObjectTypeCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/PackageCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/TemplateListenerCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/TemplateListenerCodeCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/UserGroupPermissionCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/source/DiskCacheSource.class.php
wcfsetup/install/files/lib/system/category/CategoryHandler.class.php
wcfsetup/install/files/lib/system/cleanup/CleanupHandler.class.php
wcfsetup/install/files/lib/system/event/EventHandler.class.php
wcfsetup/install/files/lib/system/language/I18nHandler.class.php
wcfsetup/install/files/lib/system/language/LanguageFactory.class.php
wcfsetup/install/files/lib/system/package/PackageArchive.class.php
wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php
wcfsetup/install/files/lib/system/package/PackageInstallationSQLParser.class.php
wcfsetup/install/files/lib/system/package/PackageUninstallationDispatcher.class.php
wcfsetup/install/files/lib/system/package/plugin/ACPSearchProviderPackageInstallationPlugin.class.php
wcfsetup/install/files/lib/system/package/plugin/CoreObjectPackageInstallationPlugin.class.php
wcfsetup/install/files/lib/system/package/plugin/EventListenerPackageInstallationPlugin.class.php
wcfsetup/install/files/lib/system/package/plugin/FilePackageInstallationPlugin.class.php
wcfsetup/install/files/lib/system/package/plugin/LanguagePackageInstallationPlugin.class.php
wcfsetup/install/files/lib/system/package/plugin/ObjectTypePackageInstallationPlugin.class.php
wcfsetup/install/files/lib/system/package/plugin/SQLPackageInstallationPlugin.class.php
wcfsetup/install/files/lib/system/package/plugin/SitemapPackageInstallationPlugin.class.php
wcfsetup/install/files/lib/system/package/plugin/TemplateListenerPackageInstallationPlugin.class.php
wcfsetup/install/files/lib/system/request/LinkHandler.class.php
wcfsetup/install/files/lib/system/search/acp/MenuItemACPSearchResultProvider.class.php
wcfsetup/install/files/lib/system/search/acp/OptionACPSearchResultProvider.class.php
wcfsetup/install/files/lib/system/search/acp/PackageACPSearchResultProvider.class.php
wcfsetup/install/files/lib/system/search/acp/UserGroupOptionACPSearchResultProvider.class.php
wcfsetup/install/files/lib/system/session/SessionHandler.class.php
wcfsetup/install/files/lib/system/sitemap/SitemapHandler.class.php
wcfsetup/install/files/lib/system/style/StyleHandler.class.php
wcfsetup/install/files/lib/system/template/TemplateEngine.class.php
wcfsetup/setup/db/install.sql

index 11e36313d60a49c7eaf7b48561b050941aeda7e5,1796f8dd0c625e130a81977612f9c157b3efbe8d..1b3c9632940836c15f229136e51a012608a029a6
@@@ -1,8 -1,8 +1,9 @@@
  <?php
  namespace wcf\acp\form;
  use wcf\data\user\group\option\category\UserGroupOptionCategoryList;
 +use wcf\data\user\group\option\UserGroupOptionAction;
  use wcf\data\user\group\option\UserGroupOption;
+ use wcf\data\user\group\option\UserGroupOptionAction;
  use wcf\data\user\group\UserGroup;
  use wcf\data\DatabaseObject;
  use wcf\system\database\util\PreparedStatementConditionBuilder;
index 5ea4426ed4426b43398d4a41f0bb846de77c74a0,07956d87b2d403b1634bb2a928b5c41779fd4320..322f1013b81bf0b9767fdfc7443360121c577462
@@@ -20,21 -20,12 +20,12 @@@ class CronjobLogEditor extends Database
        protected static $baseClass = 'wcf\data\cronjob\log\CronjobLog';
        
        /**
-        * Deletes the cronjob logs for the package with the given id.
-        * 
-        * @param       integer         $packageID
 -       * Deletes the cronjob log.
++       * Deletes all cronjob logs.
         */
-       public static function clearLogs($packageID = PACKAGE_ID) {
+       public static function clearLogs() {
                // delete logs
-               $sql = "DELETE FROM     wcf".WCF_N."_cronjob_log
-                       WHERE           cronjobID IN (
-                                               SELECT  cronjobID
-                                               FROM    wcf".WCF_N."_cronjob cronjob,
-                                                       wcf".WCF_N."_package_dependency package_dependency
-                                               WHERE   cronjob.packageID = package_dependency.dependency
-                                                       AND package_dependency.packageID = ?
-                                       )";
+               $sql = "DELETE FROM     wcf".WCF_N."_cronjob_log";
                $statement = WCF::getDB()->prepareStatement($sql);
-               $statement->execute(array($packageID));
+               $statement->execute();
        }
  }
index 39d0deb0ebb23e883e640cdc43c0e48c96ccd9aa,8c12b75ea9c5181da647af40a3a48b2e38232cf5..adcf1d8492864b875fc9181843aa264dd582c7de
@@@ -45,11 -44,10 +44,10 @@@ class LanguageEditor extends DatabaseOb
        
        /**
         * Updates the language files for the given category.
 -       *
 +       * 
-        * @param       array           $categoryIDs
-        * @param       array           $packageIDs
+        * @param       array<integer>          $categoryIDs
         */
-       public function updateCategory(array $categoryIDs = array(), array $packageIDs = array()) {
+       public function updateCategory(array $categoryIDs = array()) {
                if (empty($categoryIDs)) {
                        // get all categories
                        $sql = "SELECT  languageCategoryID
        
        /**
         * Write the languages files.
 -       *
 +       * 
-        * @param       array           $categoryIDs
-        * @param       array           $packageIDs
+        * @param       array           $categoryIDs
         */
-       protected function writeLanguageFiles(array $categoryIDs, array $packageIDs) {
+       protected function writeLanguageFiles(array $categoryIDs) {
                // get categories
                $conditions = new PreparedStatementConditionBuilder();
                $conditions->add("languageCategoryID IN (?)", array($categoryIDs));
                // get items
                $items = array();
                if (!empty($packageIDArray)) {
-                       // sql conditions
                        $conditions->add("language_item.packageID IN (?)", array($packageIDArray));
-                       $conditions->add("language_item.languageID = ?", array($this->languageID));
-                       
-                       $sql = "SELECT          languageItem, " . ($exportCustomValues ? "CASE WHEN languageUseCustomValue > 0 THEN languageCustomItemValue ELSE languageItemValue END AS languageItemValue" : "languageItemValue") . ", languageCategory
-                               FROM            wcf".WCF_N."_language_item language_item
-                               LEFT JOIN       wcf".WCF_N."_language_category language_category
-                               ON              (language_category.languageCategoryID = language_item.languageCategoryID)
-                               ".$conditions;
-               }
-               else {
-                       // sql conditions
-                       $conditions->add("language_item.packageID = package_dependency.dependency");
-                       $conditions->add("package_dependency.packageID = ?", array(PACKAGE_ID));
-                       $conditions->add("language_item.languageID = ?", array($this->languageID));
-                               
-                       $sql = "SELECT          languageItem, " . ($exportCustomValues ? "CASE WHEN languageUseCustomValue > 0 THEN languageCustomItemValue ELSE languageItemValue END AS languageItemValue" : "languageItemValue") . ", languageCategory
-                               FROM            wcf".WCF_N."_package_dependency package_dependency,
-                                               wcf".WCF_N."_language_item language_item
-                               LEFT JOIN       wcf".WCF_N."_language_category language_category
-                               ON              (language_category.languageCategoryID = language_item.languageCategoryID)
-                               ".$conditions."
-                               ORDER BY        package_dependency.priority ASC";
                }
 -                      
++              
+               $sql = "SELECT          languageItem, " . ($exportCustomValues ? "CASE WHEN languageUseCustomValue > 0 THEN languageCustomItemValue ELSE languageItemValue END AS languageItemValue" : "languageItemValue") . ", languageCategory
+                       FROM            wcf".WCF_N."_language_item language_item
+                       LEFT JOIN       wcf".WCF_N."_language_category language_category
+                       ON              (language_category.languageCategoryID = language_item.languageCategoryID)
+                       ".$conditions;
                $statement = WCF::getDB()->prepareStatement($sql);
                $statement->execute($conditions->getParameters());
                while ($row = $statement->fetchArray()) {
        
        /**
         * Clears language cache.
 -       */     
 +       */
        public function clearCache() {
-               CacheHandler::getInstance()->clear(WCF_DIR.'cache/', 'cache.languages.php');
+               CacheHandler::getInstance()->clear(WCF_DIR.'cache/', 'cache.language.php');
        }
        
        /**
index 1edc98a54115b73272dab7920303269e2d6fa877,75a13a8b7df7488ce7e502b975950dc9bcde07a4..74f26b8d8fe3e82b4d40b77211c1c3971b143e4a
@@@ -309,14 -309,10 +309,11 @@@ class UserGroup extends DatabaseObject 
                if ($this->groupOptions === null) {
                        // get all options and filter options with low priority
                        $this->groupOptions = $groupOptionIDs = array();
-                       $sql = "SELECT          optionName, optionID 
-                               FROM            wcf".WCF_N."_user_group_option option_table
-                               LEFT JOIN       wcf".WCF_N."_package_dependency package_dependency
-                               ON              (package_dependency.dependency = option_table.packageID)
-                               WHERE           package_dependency.packageID = ?
-                               ORDER BY        package_dependency.priority ASC";
++
+                       $sql = "SELECT          optionName, optionID
+                               FROM            wcf".WCF_N."_user_group_option";
                        $statement = WCF::getDB()->prepareStatement($sql);
-                       $statement->execute(array(PACKAGE_ID));
+                       $statement->execute();
                        
                        while ($row = $statement->fetchArray()) {
                                $groupOptionIDs[$row['optionName']] = $row['optionID'];
index 534af4f194999b38ce8424ca66e7b90eb21f0850,389f8e6064f4c366d889dc5e86a5a366381291c2..a4be74e4200b66cd26c216bc19ac09765a90a6c2
@@@ -12,11 -15,7 +15,10 @@@ use wcf\system\session\SessionHandler
  use wcf\system\style\StyleHandler;
  use wcf\system\template\TemplateEngine;
  use wcf\system\user\storage\UserStorageHandler;
- use wcf\system\exception;
 -use wcf\util;
 +use wcf\util\ArrayUtil;
 +use wcf\util\ClassUtil;
 +use wcf\util\FileUtil;
 +use wcf\util\StringUtil;
  
  // try to disable execution time limit
  @set_time_limit(0);
@@@ -387,18 -390,18 +393,18 @@@ class WCF 
         */
        protected function initBlacklist() {
                if (defined('BLACKLIST_IP_ADDRESSES') && BLACKLIST_IP_ADDRESSES != '') {
 -                      if (!util\StringUtil::executeWordFilter(WCF::getSession()->ipAddress, BLACKLIST_IP_ADDRESSES)) {
 +                      if (!StringUtil::executeWordFilter(WCF::getSession()->ipAddress, BLACKLIST_IP_ADDRESSES)) {
-                               throw new exception\PermissionDeniedException();
+                               throw new PermissionDeniedException();
                        }
                }
                if (defined('BLACKLIST_USER_AGENTS') && BLACKLIST_USER_AGENTS != '') {
 -                      if (!util\StringUtil::executeWordFilter(WCF::getSession()->userAgent, BLACKLIST_USER_AGENTS)) {
 +                      if (!StringUtil::executeWordFilter(WCF::getSession()->userAgent, BLACKLIST_USER_AGENTS)) {
-                               throw new exception\PermissionDeniedException();
+                               throw new PermissionDeniedException();
                        }
                }
                if (defined('BLACKLIST_HOSTNAMES') && BLACKLIST_HOSTNAMES != '') {
 -                      if (!util\StringUtil::executeWordFilter(@gethostbyaddr(WCF::getSession()->ipAddress), BLACKLIST_HOSTNAMES)) {
 +                      if (!StringUtil::executeWordFilter(@gethostbyaddr(WCF::getSession()->ipAddress), BLACKLIST_HOSTNAMES)) {
-                               throw new exception\PermissionDeniedException();
+                               throw new PermissionDeniedException();
                        }
                }
        }
                }
                
                if (class_exists($objectName)) {
 -                      if (!(util\ClassUtil::isInstanceOf($objectName, 'wcf\system\SingletonFactory'))) {
 +                      if (!(ClassUtil::isInstanceOf($objectName, 'wcf\system\SingletonFactory'))) {
-                               throw new exception\SystemException("class '".$objectName."' does not implement the interface 'SingletonFactory'");
+                               throw new SystemException("class '".$objectName."' does not implement the interface 'SingletonFactory'");
                        }
                        
                        self::$coreObject[$className] = call_user_func(array($objectName, 'getInstance'));
index 0578cd086ecc836efce80d70a01e47d6507dae11,db87c7ab1e5dd7a8fa05181a74007dc008a12642..9c001a45cca9e135e4774a4e8422eb4feaa88457
@@@ -1,7 -1,10 +1,9 @@@
  <?php
  namespace wcf\system\application;
+ use wcf\data\application\ApplicationAction;
+ use wcf\data\application\ApplicationList;
  use wcf\system\cache\CacheHandler;
  use wcf\system\SingletonFactory;
 -use wcf\util\StringUtil;
  
  /**
   * Handles multi-application environments.
index 6b6ed33795a9dded1fb9880b5ffddf7f3a16446d,c761474d4511b0a1c12c30b850b0b1ff6905d1e0..8548acdd8d4162fe1d4e2d7a54fb3cf252f4a524
@@@ -1,11 -1,10 +1,10 @@@
  <?php
  namespace wcf\system\cache\builder;
  use wcf\data\category\CategoryList;
- use wcf\system\package\PackageDependencyHandler;
  
  /**
 - * Caches the categories for a certain package.
 - *
 + * Caches the categories for the active application.
 + * 
   * @author    Matthias Schmidt
   * @copyright 2001-2012 WoltLab GmbH
   * @license   GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index fa1ac5360d4cdc3c37bcf6c3e5619cfa3523ab54,71fcacf53af71a1d3b827cb176590d70d937ef33..90d357c874e99df3eed33879a83b324982fa9053
@@@ -18,7 -17,7 +17,7 @@@ class TemplateListenerCacheBuilder impl
         * @see wcf\system\cache\ICacheBuilder::getData()
         */
        public function getData(array $cacheResource) {
-               list(,, $environment) = explode('-', $cacheResource['cache']);
 -              list(, $environment) = explode('-', $cacheResource['cache']); 
++              list(, $environment) = explode('-', $cacheResource['cache']);
                
                // get templates for current package id
                $templateListenerList = new TemplateListenerList();
index 64811d7af11167f241bc08d060086efffc7676fd,8485a3d84f7b1447c9f0dc32c97be110f8566201..dd264a9a88bcf76ea032359ee7ebb5ff9dda9786
@@@ -1,10 -1,9 +1,9 @@@
  <?php
  namespace wcf\system\cache\builder;
  use wcf\data\template\listener\TemplateListenerList;
- use wcf\system\package\PackageDependencyHandler;
  
  /**
 - * Caches template listener code.
 + * Caches the template listener code for a certain template in a certain environment.
   * 
   * @author    Alexander Ebert
   * @copyright 2001-2012 WoltLab GmbH
@@@ -18,7 -17,7 +17,7 @@@ class TemplateListenerCodeCacheBuilder 
         * @see wcf\system\cache\ICacheBuilder::getData()
         */
        public function getData(array $cacheResource) {
-               list(, $environment, $templateName) = explode('-', $cacheResource['cache']);
 -              list($environment, $templateName) = explode('-', $cacheResource['cache']); 
++              list($environment, $templateName) = explode('-', $cacheResource['cache']);
                
                // get template codes for specified template
                $templateListenerList = new TemplateListenerList();
index f2a17106d7795feb23f47c245ec28d13c36dcec7,4182e3c8cd8fb589406e684fffe73dc87290aa9a..b1634270d830b0ae5db959dda105144d58e43e90
@@@ -11,11 -12,11 +12,12 @@@ use wcf\system\exception\SystemExceptio
  use wcf\system\request\LinkHandler;
  use wcf\system\setup\Uninstaller;
  use wcf\system\WCF;
+ use wcf\util\FileUtil;
  use wcf\util\HeaderUtil;
 +use wcf\util\FileUtil;
  
  /**
 - * PackageUninstallationDispatcher handles the whole uninstallation process.
 + * Handles the whole uninstallation process.
   * 
   * @author    Alexander Ebert
   * @copyright 2001-2012 WoltLab GmbH
index 1e2ddca63a5320fd123c322d4fb505d4cdf4f3fc,a8d17660a2c68d33e5213dba97447521d002e5e1..12ab9dce0513c495b43f50242e0608bb1276124b
@@@ -65,8 -65,8 +65,8 @@@ class CoreObjectPackageInstallationPlug
        
        /**
         * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::cleanup()
 -       */     
 +       */
        protected function cleanup() {
-               CacheHandler::getInstance()->clear(WCF_DIR.'cache', 'cache.coreObjects.php');
+               CacheHandler::getInstance()->clear(WCF_DIR.'cache', 'cache.coreObject.php');
        }
  }
index b7b9e63933c1d4a98538a2c3fa5518acd623cbe0,4490dc70ba5cd25e4a0d387c83fed78aaba8dec7..97d7af2635a174a8f72c71c610b492b225387f18
@@@ -70,8 -70,8 +70,8 @@@ class SitemapPackageInstallationPlugin 
        
        /**
         * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::cleanup()
 -       */     
 +       */
        protected function cleanup() {
-               CacheHandler::getInstance()->clear(WCF_DIR.'cache', 'cache.sitemap-*.php');
+               CacheHandler::getInstance()->clear(WCF_DIR.'cache', 'cache.sitemap.php');
        }
  }
index 4cc3d1a919608450ee7f13b4674bc3795edb1c26,e7e4ffd26c854d0776b4f7946d7d9ee0bc73d11b..8ed707c80def40f734e3c4e45e9c89e6eb0baeb6
@@@ -81,10 -81,10 +81,10 @@@ class TemplateListenerPackageInstallati
        
        /**
         * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::cleanup()
 -       */     
 +       */
        protected function cleanup() {
                // clear cache immediately
-               CacheHandler::getInstance()->clear(WCF_DIR.'cache', 'cache.templateListener-*.php');
+               CacheHandler::getInstance()->clear(WCF_DIR.'cache', 'cache.templateListener.php');
                CacheHandler::getInstance()->clear(WCF_DIR.'cache/templateListener', '*.php');
        }
  }
index f8d885073749ee04bc1fc69d402aa2c676992633,a588b0f6b0def531edf71c6f19f5e09bb8e6bd2b..9496bbaa3073454b612a46b158b2c0587e703e7e
@@@ -1,7 -1,7 +1,6 @@@
  <?php
  namespace wcf\system\search\acp;
  use wcf\system\database\util\PreparedStatementConditionBuilder;
- use wcf\system\package\PackageDependencyHandler;
 -use wcf\system\request\LinkHandler;
  use wcf\system\WCF;
  
  /**
index 8b3724d82507433ff31d1f84fcc14bd70669eb89,07e6c1d5a7fcfe915e11a9f343b694f18021ce4d..c661e92075f73a41d6cd5765da3a95ee9bf7e637
@@@ -408,21 -408,19 +408,21 @@@ class TemplateEngine extends SingletonF
        /**
         * Returns the absolute filename of a compiled template.
         * 
 -       * @param       string          $templateName
 +       * @param       string          $templateName
 +       * @return      string
         */
        public function getCompiledFilename($templateName) {
-               return $this->compileDir.PACKAGE_ID.'_'.$this->templateGroupID.'_'.$this->languageID.'_'.$templateName.'.php';
+               return $this->compileDir.$this->templateGroupID.'_'.$this->languageID.'_'.$templateName.'.php';
        }
        
        /**
         * Returns the absolute filename for template's meta data.
         * 
         * @param       string          $templateName
 +       * @return      string
         */
        public function getMetaDataFilename($templateName) {
-               return $this->compileDir.PACKAGE_ID.'_'.$this->templateGroupID.'_'.$templateName.'.meta.php';
+               return $this->compileDir.$this->templateGroupID.'_'.$templateName.'.meta.php';
        }
        
        /**
Simple merge