From a8935aa09060a63ff2d8bbfe7eddee860788e8ea Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Thu, 7 Feb 2013 11:20:24 +0100 Subject: [PATCH] Removes obsolete imports --- .../install/files/lib/acp/action/CacheClearAction.class.php | 1 - .../install/files/lib/acp/action/WorkerProxyAction.class.php | 3 +-- .../files/lib/acp/page/AbstractCategoryListPage.class.php | 3 +-- wcfsetup/install/files/lib/action/APIAction.class.php | 3 +-- .../files/lib/data/VersionableDatabaseObject.class.php | 3 +-- .../files/lib/data/application/ApplicationAction.class.php | 5 +---- wcfsetup/install/files/lib/data/cronjob/Cronjob.class.php | 3 +-- wcfsetup/install/files/lib/data/option/Option.class.php | 1 - .../install/files/lib/data/option/OptionEditor.class.php | 1 - wcfsetup/install/files/lib/data/package/Package.class.php | 1 - .../install/files/lib/data/package/PackageAction.class.php | 1 - .../lib/data/package/update/PackageUpdateAction.class.php | 1 - .../lib/data/page/menu/item/PageMenuItemAction.class.php | 1 - .../lib/system/application/ApplicationHandler.class.php | 1 - .../lib/system/cache/builder/ACPMenuCacheBuilder.class.php | 1 - .../lib/system/cache/builder/LanguageCacheBuilder.class.php | 1 - .../lib/system/cache/builder/OptionCacheBuilder.class.php | 1 - .../lib/system/cache/builder/VersionCacheBuilder.class.php | 1 - .../files/lib/system/cache/source/ApcCacheSource.class.php | 1 - .../files/lib/system/cache/source/DiskCacheSource.class.php | 1 - .../install/files/lib/system/menu/page/PageMenu.class.php | 2 -- .../system/package/PackageUninstallationDispatcher.class.php | 2 -- .../package/PackageUninstallationNodeBuilder.class.php | 4 +--- .../package/plugin/OptionPackageInstallationPlugin.class.php | 2 -- .../TemplateListenerPackageInstallationPlugin.class.php | 1 - .../UserGroupOptionPackageInstallationPlugin.class.php | 4 +--- .../plugin/UserOptionPackageInstallationPlugin.class.php | 4 +--- .../install/files/lib/system/style/StyleCompiler.class.php | 3 +-- .../template/plugin/PagesFunctionTemplatePlugin.class.php | 4 +--- .../files/lib/system/version/VersionHandler.class.php | 1 - 30 files changed, 11 insertions(+), 50 deletions(-) diff --git a/wcfsetup/install/files/lib/acp/action/CacheClearAction.class.php b/wcfsetup/install/files/lib/acp/action/CacheClearAction.class.php index 05e5929181..d211fef3c7 100644 --- a/wcfsetup/install/files/lib/acp/action/CacheClearAction.class.php +++ b/wcfsetup/install/files/lib/acp/action/CacheClearAction.class.php @@ -5,7 +5,6 @@ use wcf\system\cache\CacheHandler; use wcf\system\language\LanguageFactory; use wcf\system\request\LinkHandler; use wcf\system\style\StyleHandler; -use wcf\system\WCF; use wcf\util\HeaderUtil; /** diff --git a/wcfsetup/install/files/lib/acp/action/WorkerProxyAction.class.php b/wcfsetup/install/files/lib/acp/action/WorkerProxyAction.class.php index f89366cb87..d928958c3b 100644 --- a/wcfsetup/install/files/lib/acp/action/WorkerProxyAction.class.php +++ b/wcfsetup/install/files/lib/acp/action/WorkerProxyAction.class.php @@ -2,7 +2,6 @@ namespace wcf\acp\action; use wcf\action\AbstractSecureAction; use wcf\action\AJAXInvokeAction; -use wcf\system\exception\AJAXException; use wcf\system\exception\SystemException; use wcf\system\WCF; use wcf\util\ClassUtil; @@ -12,7 +11,7 @@ use wcf\util\JSON; * Handles worker actions. * * @author Alexander Ebert - * @copyright 2001-2012 WoltLab GmbH + * @copyright 2001-2013 WoltLab GmbH * @license GNU Lesser General Public License * @package com.woltlab.wcf * @subpackage acp.action diff --git a/wcfsetup/install/files/lib/acp/page/AbstractCategoryListPage.class.php b/wcfsetup/install/files/lib/acp/page/AbstractCategoryListPage.class.php index 08ff917b98..188ca839d0 100644 --- a/wcfsetup/install/files/lib/acp/page/AbstractCategoryListPage.class.php +++ b/wcfsetup/install/files/lib/acp/page/AbstractCategoryListPage.class.php @@ -5,7 +5,6 @@ use wcf\page\AbstractPage; use wcf\system\category\CategoryHandler; use wcf\system\exception\PermissionDeniedException; use wcf\system\exception\SystemException; -use wcf\system\menu\acp\ACPMenu; use wcf\system\user\collapsible\content\UserCollapsibleContentHandler; use wcf\system\WCF; use wcf\util\StringUtil; @@ -15,7 +14,7 @@ use wcf\util\StringUtil; * type. * * @author Matthias Schmidt - * @copyright 2001-2012 WoltLab GmbH + * @copyright 2001-2013 WoltLab GmbH * @license GNU Lesser General Public License * @package com.woltlab.wcf * @subpackage acp.page diff --git a/wcfsetup/install/files/lib/action/APIAction.class.php b/wcfsetup/install/files/lib/action/APIAction.class.php index c88a25643f..6b7e330b64 100644 --- a/wcfsetup/install/files/lib/action/APIAction.class.php +++ b/wcfsetup/install/files/lib/action/APIAction.class.php @@ -4,13 +4,12 @@ use wcf\system\api\rest\response\IRESTfulResponse; use wcf\system\exception\AJAXException; use wcf\system\exception\IllegalLinkException; use wcf\system\request\RouteHandler; -use wcf\system\WCF; /** * This action provides RESTful access to database objects. * * @author Jeffrey Reichardt - * @copyright 2001-2012 WoltLab GmbH + * @copyright 2001-2013 WoltLab GmbH * @license GNU Lesser General Public License * @package com.woltlab.wcf * @subpackage action diff --git a/wcfsetup/install/files/lib/data/VersionableDatabaseObject.class.php b/wcfsetup/install/files/lib/data/VersionableDatabaseObject.class.php index 0af37a750c..a4750353f6 100644 --- a/wcfsetup/install/files/lib/data/VersionableDatabaseObject.class.php +++ b/wcfsetup/install/files/lib/data/VersionableDatabaseObject.class.php @@ -2,13 +2,12 @@ namespace wcf\data; use wcf\system\exception\SystemException; use wcf\system\version\VersionHandler; -use wcf\util\StringUtil; /** * Abstract class for all versionable data classes. * * @author Jeffrey Reichardt - * @copyright 2001-2012 WoltLab GmbH + * @copyright 2001-2013 WoltLab GmbH * @license GNU Lesser General Public License * @package com.woltlab.wcf * @subpackage data diff --git a/wcfsetup/install/files/lib/data/application/ApplicationAction.class.php b/wcfsetup/install/files/lib/data/application/ApplicationAction.class.php index 4a59a0374e..9029d08b46 100644 --- a/wcfsetup/install/files/lib/data/application/ApplicationAction.class.php +++ b/wcfsetup/install/files/lib/data/application/ApplicationAction.class.php @@ -1,9 +1,6 @@ * @package com.woltlab.wcf * @subpackage data.application diff --git a/wcfsetup/install/files/lib/data/cronjob/Cronjob.class.php b/wcfsetup/install/files/lib/data/cronjob/Cronjob.class.php index 65ad448d7a..2875aa3870 100644 --- a/wcfsetup/install/files/lib/data/cronjob/Cronjob.class.php +++ b/wcfsetup/install/files/lib/data/cronjob/Cronjob.class.php @@ -1,14 +1,13 @@ * @package com.woltlab.wcf * @subpackage data.cronjob diff --git a/wcfsetup/install/files/lib/data/option/Option.class.php b/wcfsetup/install/files/lib/data/option/Option.class.php index 5e5d4f8eda..a2f2bb3ba4 100644 --- a/wcfsetup/install/files/lib/data/option/Option.class.php +++ b/wcfsetup/install/files/lib/data/option/Option.class.php @@ -1,6 +1,5 @@ * @package com.woltlab.wcf * @subpackage system.package diff --git a/wcfsetup/install/files/lib/system/package/plugin/OptionPackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/OptionPackageInstallationPlugin.class.php index 8d277eb9ad..da2d26e417 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/OptionPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/OptionPackageInstallationPlugin.class.php @@ -2,10 +2,8 @@ namespace wcf\system\package\plugin; use wcf\data\option\Option; use wcf\data\option\OptionEditor; -use wcf\system\application\ApplicationHandler; use wcf\system\exception\SystemException; use wcf\system\WCF; -use wcf\util\StringUtil; /** * Installs, updates and deletes options. diff --git a/wcfsetup/install/files/lib/system/package/plugin/TemplateListenerPackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/TemplateListenerPackageInstallationPlugin.class.php index b3de7eae6f..f62bd02e5b 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/TemplateListenerPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/TemplateListenerPackageInstallationPlugin.class.php @@ -2,7 +2,6 @@ namespace wcf\system\package\plugin; use wcf\system\cache\builder\TemplateListenerCacheBuilder; use wcf\system\cache\builder\TemplateListenerCodeCacheBuilder; -use wcf\system\cache\CacheHandler; use wcf\system\WCF; /** diff --git a/wcfsetup/install/files/lib/system/package/plugin/UserGroupOptionPackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/UserGroupOptionPackageInstallationPlugin.class.php index fa6e963e87..593103afd3 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/UserGroupOptionPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/UserGroupOptionPackageInstallationPlugin.class.php @@ -4,15 +4,13 @@ use wcf\data\user\group\option\UserGroupOption; use wcf\data\user\group\option\UserGroupOptionEditor; use wcf\data\user\group\UserGroup; use wcf\data\user\group\UserGroupList; -use wcf\system\exception\SystemException; use wcf\system\WCF; -use wcf\util\StringUtil; /** * Installs, updates and deletes user group options. * * @author Benjamin Kunz - * @copyright 2001-2012 WoltLab GmbH + * @copyright 2001-2013 WoltLab GmbH * @license GNU Lesser General Public License * @package com.woltlab.wcf * @subpackage system.package.plugin diff --git a/wcfsetup/install/files/lib/system/package/plugin/UserOptionPackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/UserOptionPackageInstallationPlugin.class.php index 149759b3a7..fc92fb15e0 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/UserOptionPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/UserOptionPackageInstallationPlugin.class.php @@ -4,15 +4,13 @@ use wcf\data\user\option\category\UserOptionCategory; use wcf\data\user\option\category\UserOptionCategoryEditor; use wcf\data\user\option\UserOption; use wcf\data\user\option\UserOptionEditor; -use wcf\system\exception\SystemException; use wcf\system\WCF; -use wcf\util\StringUtil; /** * Installs, updates and deletes user options. * * @author Benjamin Kunz - * @copyright 2001-2012 WoltLab GmbH + * @copyright 2001-2013 WoltLab GmbH * @license GNU Lesser General Public License * @package com.woltlab.wcf * @subpackage system.package.plugin diff --git a/wcfsetup/install/files/lib/system/style/StyleCompiler.class.php b/wcfsetup/install/files/lib/system/style/StyleCompiler.class.php index 3296027028..c762dc0708 100644 --- a/wcfsetup/install/files/lib/system/style/StyleCompiler.class.php +++ b/wcfsetup/install/files/lib/system/style/StyleCompiler.class.php @@ -1,7 +1,6 @@ * @package com.woltlab.wcf * @subpackage system.style diff --git a/wcfsetup/install/files/lib/system/template/plugin/PagesFunctionTemplatePlugin.class.php b/wcfsetup/install/files/lib/system/template/plugin/PagesFunctionTemplatePlugin.class.php index aee339e8f5..2c0fd85549 100644 --- a/wcfsetup/install/files/lib/system/template/plugin/PagesFunctionTemplatePlugin.class.php +++ b/wcfsetup/install/files/lib/system/template/plugin/PagesFunctionTemplatePlugin.class.php @@ -2,8 +2,6 @@ namespace wcf\system\template\plugin; use wcf\system\exception\SystemException; use wcf\system\request\LinkHandler; -use wcf\system\request\RequestHandler; -use wcf\system\style\StyleHandler; use wcf\system\template\TemplateEngine; use wcf\system\WCF; use wcf\util\StringUtil; @@ -22,7 +20,7 @@ use wcf\util\StringUtil; * {pages page=8 pages=10 link='page-%d.html' assign='output' print=true} * * @author Marcel Werk - * @copyright 2001-2012 WoltLab GmbH + * @copyright 2001-2013 WoltLab GmbH * @license GNU Lesser General Public License * @package com.woltlab.wcf * @subpackage system.template.plugin diff --git a/wcfsetup/install/files/lib/system/version/VersionHandler.class.php b/wcfsetup/install/files/lib/system/version/VersionHandler.class.php index 0789323e84..95e4aad30c 100644 --- a/wcfsetup/install/files/lib/system/version/VersionHandler.class.php +++ b/wcfsetup/install/files/lib/system/version/VersionHandler.class.php @@ -1,7 +1,6 @@