Removes unused variables
authorMatthias Schmidt <gravatronics@live.com>
Thu, 29 Nov 2012 22:28:49 +0000 (23:28 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Thu, 29 Nov 2012 22:36:10 +0000 (23:36 +0100)
12 files changed:
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/CoreObjectCacheBuilder.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/PackageDependencyCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/PageMenuCacheBuilder.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

index 71ec8b09836e96bbc11abf1bc008491dec3a9f40..1120e0bf8f7ab0c419b78103a9f0f24818e21080 100644 (file)
@@ -21,7 +21,7 @@ class ACPMenuCacheBuilder implements ICacheBuilder {
         * @see wcf\system\cache\ICacheBuilder::getData()
         */
        public function getData(array $cacheResource) {
-               list($cache, $packageID) = explode('-', $cacheResource['cache']);
+               list(, $packageID) = explode('-', $cacheResource['cache']);
                $data = array();
                
                // get all menu items and filter menu items with low priority
index f4739f4bfa4c6236b26122f04aca455678a8a16b..fb62ff8f82eb7bda5a4d6d50b1178ea556c38c9d 100644 (file)
@@ -22,7 +22,7 @@ class ApplicationCacheBuilder implements ICacheBuilder {
         * @see wcf\system\cache\ICacheBuilder::getData()
         */
        public function getData(array $cacheResource) {
-               list($cache, $packageID) = explode('-', $cacheResource['cache']);
+               list(, $packageID) = explode('-', $cacheResource['cache']);
                $data = array(
                        'abbreviation' => array(),
                        'application' => array(),
index 81b059c9982434dbc453b72b61479173047fef71..7524312d89f6a6b580e1546ef20cb5d010aed259 100644 (file)
@@ -17,7 +17,7 @@ class CleanupAdapterCacheBuilder implements ICacheBuilder {
         * @see wcf\system\cache\ICacheBuilder::getData()
         */
        public function getData(array $cacheResource) {
-               list($cache, $packageID) = explode('-', $cacheResource['cache']);
+               list(, $packageID) = explode('-', $cacheResource['cache']);
                $data = array(
                        'adapters' => array(),
                        'objectTypes' => array(),
index b2565a7abb46caee543baf820a6e3076b6a26abc..5a3876773201f0439017e9f9aa0e0c3c27240b21 100644 (file)
@@ -18,7 +18,6 @@ class CoreObjectCacheBuilder implements ICacheBuilder {
         * @see wcf\system\cache\ICacheBuilder::getData()
         */
        public function getData(array $cacheResource) {
-               list($cache, $packageID) = explode('-', $cacheResource['cache']);
                $data = array();
                
                $coreObjectList = new CoreObjectList();
index ac39258077abb4a928e9c3d782db5fd3fd5afa59..971546e7eb75e1c8ea4f5beabe822b0120997b37 100644 (file)
@@ -18,7 +18,7 @@ class EventListenerCacheBuilder implements ICacheBuilder {
         * @see wcf\system\cache\ICacheBuilder::getData()
         */
        public function getData(array $cacheResource) {
-               list($cache, $packageID) = explode('-', $cacheResource['cache']);
+               list(, $packageID) = explode('-', $cacheResource['cache']);
                $data = array(
                        'actions' => array('user' => array(), 'admin' => array()),
                        'inheritedActions' => array('user' => array(), 'admin' => array())
index 0af419c5d31771bbeb01074a018faa130555fd35..77712b3943dee718f12a62a2669589ee7d7a314e 100644 (file)
@@ -21,7 +21,7 @@ class IconCacheBuilder implements ICacheBuilder {
         * @see wcf\system\cache\ICacheBuilder::getData()
         */
        public function getData(array $cacheResource) {
-               list($cache, $packageID, $styleID) = explode('-', $cacheResource['cache']);
+               list(, $packageID, $styleID) = explode('-', $cacheResource['cache']);
                $data = array();
                
                // get active package
index 51c4267f939ba2acf85cd1ab3fa7c51d87d1d633..e84ebb4ba8c8bad9833a5c921bcbccf328a1029f 100644 (file)
@@ -19,7 +19,7 @@ class ObjectTypeCacheBuilder implements ICacheBuilder {
         * @see wcf\system\cache\ICacheBuilder::getData()
         */
        public function getData(array $cacheResource) {
-               list($cache, $packageID) = explode('-', $cacheResource['cache']);
+               list(, $packageID) = explode('-', $cacheResource['cache']);
                $data = array(
                        'categories' => array(),
                        'definitions' => array(),
index e22b1eb2e19b96174ad3439286521394b10d89cf..4b5ef32377c772247c83ffdf958ba603a2d271c2 100644 (file)
@@ -17,7 +17,7 @@ class PackageDependencyCacheBuilder implements ICacheBuilder {
         * @see wcf\system\cache\ICacheBuilder::getData()
         */
        public function getData(array $cacheResource) {
-               list($cache, $packageID) = explode('-', $cacheResource['cache']);
+               list(, $packageID) = explode('-', $cacheResource['cache']);
                $data = array(
                        'dependency' => array(),
                        'resolve' => array()
index 6b8b2e8c9016838f42e99970309cc1ec72959c31..7d1248a9aeafeeee243ae6c9434de53c05eda4da 100644 (file)
@@ -19,7 +19,7 @@ class PageMenuCacheBuilder implements ICacheBuilder {
         * @see wcf\system\cache\ICacheBuilder::getData()
         */
        public function getData(array $cacheResource) {
-               list($cache, $packageID) = explode('-', $cacheResource['cache']);
+               list(, $packageID) = explode('-', $cacheResource['cache']);
                $data = array();
 
                // get all menu items and filter menu items with low priority
index b8979d7698b54ae13571c27502ac157aeec25c71..fa1ac5360d4cdc3c37bcf6c3e5619cfa3523ab54 100644 (file)
@@ -18,7 +18,7 @@ class TemplateListenerCacheBuilder implements ICacheBuilder {
         * @see wcf\system\cache\ICacheBuilder::getData()
         */
        public function getData(array $cacheResource) {
-               list($cache, $packageID, $environment) = explode('-', $cacheResource['cache']);
+               list(,, $environment) = explode('-', $cacheResource['cache']);
                
                // get templates for current package id
                $templateListenerList = new TemplateListenerList();
index 0b1e09bb90905f3eecfd24606471e7fb2bea1f94..060b558b9ce1e18dda8c05fb5f1a137298801778 100644 (file)
@@ -18,7 +18,7 @@ class TemplateListenerCodeCacheBuilder implements ICacheBuilder {
         * @see wcf\system\cache\ICacheBuilder::getData()
         */
        public function getData(array $cacheResource) {
-               list($packageID, $environment, $templateName) = explode('-', $cacheResource['cache']);
+               list(, $environment, $templateName) = explode('-', $cacheResource['cache']);
                
                // get template codes for specified template
                $templateListenerList = new TemplateListenerList();
index 0ea94024a7eb9fadbbdab02ceb01c4948b0c32aa..19a9c4f1c0edd5652ca52a163fccb79655eca1e8 100644 (file)
@@ -27,7 +27,7 @@ class UserGroupPermissionCacheBuilder implements ICacheBuilder {
         * @see wcf\system\cache\ICacheBuilder::getData()
         */
        public function getData(array $cacheResource) {
-               list($cache, $packageID, $groupIDs) = explode('-', $cacheResource['cache']);
+               list(, $packageID, $groupIDs) = explode('-', $cacheResource['cache']);
                $data = array();
                
                // get all options and filter options with low priority