Does some cleanup
authorMatthias Schmidt <gravatronics@live.com>
Thu, 7 Feb 2013 10:21:25 +0000 (11:21 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Thu, 7 Feb 2013 10:21:25 +0000 (11:21 +0100)
wcfsetup/install/files/lib/data/acl/option/ACLOptionEditor.class.php
wcfsetup/install/files/lib/data/category/ViewableCategoryNodeList.class.php
wcfsetup/install/files/lib/system/version/VersionHandler.class.php

index f973663eddaa6f88b11356de0eee4bc8c1c8626b..294a56150beaf66392607130213f827e3fa950da 100644 (file)
@@ -4,9 +4,9 @@ use wcf\data\DatabaseObjectEditor;
 
 /**
  * Provides functions to edit acl options.
- *
+ * 
  * @author     Marcel Werk
- * @copyright  2001-2011 WoltLab GmbH
+ * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
  * @package    com.woltlab.wcf
  * @subpackage data.acl.option
index 06499496d88b8e1fa1ca8ef36ae5cae7e991822a..deee7146143695912c1a0786a450c9920206b122 100644 (file)
@@ -3,9 +3,9 @@ namespace wcf\data\category;
 
 /**
  * Represents a list of viewable category nodes.
- *
+ * 
  * @author     Matthias Schmidt
- * @copyright  2001-2012 WoltLab GmbH
+ * @copyright  2001-2013 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
  * @package    com.woltlab.wcf
  * @subpackage data.category
index 95e4aad30cb874b86ae1c5d74c8c4506e097a2ba..91a7d7bc0042a0f751ab1c7df60bfabc43df113a 100644 (file)
@@ -20,25 +20,25 @@ class VersionHandler extends SingletonFactory {
         * @var array<wcf\data\VersionableDatabaseObject>
         */
        protected $versions = array();
-
+       
        /**
         * maps each version id to its object type id and object type version id
         * @var array<array>
         */
        protected $versionIDs = array();
-
+       
        /**
         * mapes the names of the version object types to the object type ids
         * @var array<integer>
         */
        protected $objectTypeIDs = array();
-
+       
        /**
         * list of version object types
         * @var array<wcf\data\object\type>
         */
        protected $objectTypes = array();
-
+       
        /**
         * Returns all version of object with the given object type id and object id.
         * 
@@ -50,10 +50,10 @@ class VersionHandler extends SingletonFactory {
                if (isset($this->versions[$objectTypeID][$objectID])) {
                        return $this->versions[$objectTypeID][$objectID];
                }
-
+               
                return array();
        }
-
+       
        /**
         * Returns the database object with the given version id.
         * 
@@ -65,10 +65,10 @@ class VersionHandler extends SingletonFactory {
                if (isset($this->versionIDs[$objectTypeID][$versionID])) {
                        return $this->versionIDs[$objectTypeID][$versionID];
                }
-
+               
                return null;
        }
-
+       
        /**
         * Gets the object type with the given id.
         * 
@@ -79,10 +79,10 @@ class VersionHandler extends SingletonFactory {
                if (isset($this->objectTypeIDs[$objectTypeID])) {
                        return $this->getObjectTypeByName($this->objectTypeIDs[$objectTypeID]);
                }
-
+               
                return null;
        }
-
+       
        /**
         * Gets the object type with the given name.
         * 
@@ -93,10 +93,10 @@ class VersionHandler extends SingletonFactory {
                if (isset($this->objectTypes[$objectTypeName])) {
                        return $this->objectTypes[$objectTypeName];
                }
-
+               
                return null;
        }
-
+       
        /**
         * @see wcf\system\SingletonFactory::init()
         */
@@ -110,13 +110,13 @@ class VersionHandler extends SingletonFactory {
                $this->versions = VersionCacheBuilder::getInstance()->getData(array(), 'versions');
                $this->versionIDs = VersionCacheBuilder::getInstance()->getData(array(), 'versionIDs');
        }
-
+       
        /**
         * Reloads the version cache.
         */
        public function reloadCache() {
                VersionCacheBuilder::getInstance()->reset();
-
+               
                $this->init();
        }