From f3f06a2ab9025f71d0a72ce427733a42e69bc07a Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Thu, 7 Feb 2013 11:21:25 +0100 Subject: [PATCH] Does some cleanup --- .../data/acl/option/ACLOptionEditor.class.php | 4 +-- .../ViewableCategoryNodeList.class.php | 4 +-- .../system/version/VersionHandler.class.php | 28 +++++++++---------- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/wcfsetup/install/files/lib/data/acl/option/ACLOptionEditor.class.php b/wcfsetup/install/files/lib/data/acl/option/ACLOptionEditor.class.php index f973663edd..294a56150b 100644 --- a/wcfsetup/install/files/lib/data/acl/option/ACLOptionEditor.class.php +++ b/wcfsetup/install/files/lib/data/acl/option/ACLOptionEditor.class.php @@ -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 * @package com.woltlab.wcf * @subpackage data.acl.option diff --git a/wcfsetup/install/files/lib/data/category/ViewableCategoryNodeList.class.php b/wcfsetup/install/files/lib/data/category/ViewableCategoryNodeList.class.php index 06499496d8..deee714614 100644 --- a/wcfsetup/install/files/lib/data/category/ViewableCategoryNodeList.class.php +++ b/wcfsetup/install/files/lib/data/category/ViewableCategoryNodeList.class.php @@ -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 * @package com.woltlab.wcf * @subpackage data.category diff --git a/wcfsetup/install/files/lib/system/version/VersionHandler.class.php b/wcfsetup/install/files/lib/system/version/VersionHandler.class.php index 95e4aad30c..91a7d7bc00 100644 --- a/wcfsetup/install/files/lib/system/version/VersionHandler.class.php +++ b/wcfsetup/install/files/lib/system/version/VersionHandler.class.php @@ -20,25 +20,25 @@ class VersionHandler extends SingletonFactory { * @var array */ protected $versions = array(); - + /** * maps each version id to its object type id and object type version id * @var array */ protected $versionIDs = array(); - + /** * mapes the names of the version object types to the object type ids * @var array */ protected $objectTypeIDs = array(); - + /** * list of version object types * @var array */ 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(); } -- 2.20.1