From 5d3928e9420c1a331894e6a80f59727bbbc99ae9 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sat, 23 May 2020 07:48:34 +0200 Subject: [PATCH] Remove unused imports --- .../files/lib/acp/form/UserGroupOptionForm.class.php | 3 +-- wcfsetup/install/files/lib/acp/page/IndexPage.class.php | 3 +-- .../files/lib/data/AbstractDatabaseObjectAction.class.php | 3 +-- .../data/moderation/queue/ModerationQueueAction.class.php | 3 +-- .../install/files/lib/page/AbstractAuthedPage.class.php | 3 +-- .../plugin/ObjectTypePackageInstallationPlugin.class.php | 3 +-- .../UserFollowFollowingUserNotificationEvent.class.php | 3 +-- .../event/UserRegistrationUserNotificationEvent.class.php | 7 +++---- 8 files changed, 10 insertions(+), 18 deletions(-) diff --git a/wcfsetup/install/files/lib/acp/form/UserGroupOptionForm.class.php b/wcfsetup/install/files/lib/acp/form/UserGroupOptionForm.class.php index 69a4f5a8bc..59a2f1e475 100644 --- a/wcfsetup/install/files/lib/acp/form/UserGroupOptionForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/UserGroupOptionForm.class.php @@ -14,7 +14,6 @@ use wcf\system\exception\SystemException; use wcf\system\exception\UserInputException; use wcf\system\option\user\group\IUserGroupGroupOptionType; use wcf\system\option\user\group\IUserGroupOptionType; -use wcf\system\option\user\group\UserGroupOptionHandler; use wcf\system\WCF; use wcf\system\WCFACP; @@ -22,7 +21,7 @@ use wcf\system\WCFACP; * Shows the user group option form to edit a single option. * * @author Alexander Ebert - * @copyright 2001-2019 WoltLab GmbH + * @copyright 2001-2020 WoltLab GmbH * @license GNU Lesser General Public License * @package WoltLabSuite\Core\Acp\Form */ diff --git a/wcfsetup/install/files/lib/acp/page/IndexPage.class.php b/wcfsetup/install/files/lib/acp/page/IndexPage.class.php index daa34c1896..9f43ca65a7 100755 --- a/wcfsetup/install/files/lib/acp/page/IndexPage.class.php +++ b/wcfsetup/install/files/lib/acp/page/IndexPage.class.php @@ -7,13 +7,12 @@ use wcf\system\io\RemoteFile; use wcf\system\package\PackageInstallationDispatcher; use wcf\system\request\LinkHandler; use wcf\system\WCF; -use wcf\util\StringUtil; /** * Shows the welcome page in admin control panel. * * @author Marcel Werk - * @copyright 2001-2019 WoltLab GmbH + * @copyright 2001-2020 WoltLab GmbH * @license GNU Lesser General Public License * @package WoltLabSuite\Core\Acp\Page */ diff --git a/wcfsetup/install/files/lib/data/AbstractDatabaseObjectAction.class.php b/wcfsetup/install/files/lib/data/AbstractDatabaseObjectAction.class.php index ab629363c2..510268aed8 100644 --- a/wcfsetup/install/files/lib/data/AbstractDatabaseObjectAction.class.php +++ b/wcfsetup/install/files/lib/data/AbstractDatabaseObjectAction.class.php @@ -1,6 +1,5 @@ * @package WoltLabSuite\Core\Data */ diff --git a/wcfsetup/install/files/lib/data/moderation/queue/ModerationQueueAction.class.php b/wcfsetup/install/files/lib/data/moderation/queue/ModerationQueueAction.class.php index 26baf987b1..b271d12e7e 100644 --- a/wcfsetup/install/files/lib/data/moderation/queue/ModerationQueueAction.class.php +++ b/wcfsetup/install/files/lib/data/moderation/queue/ModerationQueueAction.class.php @@ -7,7 +7,6 @@ use wcf\system\database\util\PreparedStatementConditionBuilder; use wcf\system\exception\PermissionDeniedException; use wcf\system\exception\UserInputException; use wcf\system\moderation\queue\ModerationQueueManager; -use wcf\system\request\LinkHandler; use wcf\system\user\storage\UserStorageHandler; use wcf\system\visitTracker\VisitTracker; use wcf\system\WCF; @@ -16,7 +15,7 @@ use wcf\system\WCF; * Executes moderation queue-related actions. * * @author Alexander Ebert - * @copyright 2001-2019 WoltLab GmbH + * @copyright 2001-2020 WoltLab GmbH * @license GNU Lesser General Public License * @package WoltLabSuite\Core\Data\Moderation\Queue * diff --git a/wcfsetup/install/files/lib/page/AbstractAuthedPage.class.php b/wcfsetup/install/files/lib/page/AbstractAuthedPage.class.php index 86ec3056f4..5c3b1dafc8 100644 --- a/wcfsetup/install/files/lib/page/AbstractAuthedPage.class.php +++ b/wcfsetup/install/files/lib/page/AbstractAuthedPage.class.php @@ -4,14 +4,13 @@ use wcf\data\user\User; use wcf\system\exception\IllegalLinkException; use wcf\system\session\SessionHandler; use wcf\system\WCF; -use wcf\util\StringUtil; /** * Automatically authes the user for the current request via an access-token. * A missing token will be ignored, an invalid token results in a throw of a IllegalLinkException. * * @author Tim Duesterhus - * @copyright 2001-2019 WoltLab GmbH + * @copyright 2001-2020 WoltLab GmbH * @license GNU Lesser General Public License * @package WoltLabSuite\Core\Page */ diff --git a/wcfsetup/install/files/lib/system/package/plugin/ObjectTypePackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/ObjectTypePackageInstallationPlugin.class.php index 97d19c0772..9452a6c2cb 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/ObjectTypePackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/ObjectTypePackageInstallationPlugin.class.php @@ -6,7 +6,6 @@ use wcf\data\object\type\ObjectTypeEditor; use wcf\data\DatabaseObjectList; use wcf\data\page\PageNode; use wcf\data\page\PageNodeTree; -use wcf\data\user\group\option\UserGroupOption; use wcf\system\application\ApplicationHandler; use wcf\system\condition\AbstractIntegerCondition; use wcf\system\condition\UserGroupCondition; @@ -42,7 +41,7 @@ use wcf\util\DirectoryUtil; * Installs, updates and deletes object types. * * @author Alexander Ebert, Matthias Schmidt - * @copyright 2001-2019 WoltLab GmbH + * @copyright 2001-2020 WoltLab GmbH * @license GNU Lesser General Public License * @package WoltLabSuite\Core\Acp\Package\Plugin */ diff --git a/wcfsetup/install/files/lib/system/user/notification/event/UserFollowFollowingUserNotificationEvent.class.php b/wcfsetup/install/files/lib/system/user/notification/event/UserFollowFollowingUserNotificationEvent.class.php index 5fa814159d..ce96adc226 100644 --- a/wcfsetup/install/files/lib/system/user/notification/event/UserFollowFollowingUserNotificationEvent.class.php +++ b/wcfsetup/install/files/lib/system/user/notification/event/UserFollowFollowingUserNotificationEvent.class.php @@ -3,7 +3,6 @@ namespace wcf\system\user\notification\event; use wcf\data\user\follow\UserFollow; use wcf\data\user\follow\UserFollowAction; use wcf\data\user\UserProfile; -use wcf\system\request\LinkHandler; use wcf\system\user\notification\object\IUserNotificationObject; use wcf\system\user\notification\object\UserFollowUserNotificationObject; @@ -11,7 +10,7 @@ use wcf\system\user\notification\object\UserFollowUserNotificationObject; * Notification event for followers. * * @author Alexander Ebert - * @copyright 2001-2019 WoltLab GmbH + * @copyright 2001-2020 WoltLab GmbH * @license GNU Lesser General Public License * @package WoltLabSuite\Core\System\User\Notification\Event * diff --git a/wcfsetup/install/files/lib/system/user/notification/event/UserRegistrationUserNotificationEvent.class.php b/wcfsetup/install/files/lib/system/user/notification/event/UserRegistrationUserNotificationEvent.class.php index 105573c00d..5c51349a44 100644 --- a/wcfsetup/install/files/lib/system/user/notification/event/UserRegistrationUserNotificationEvent.class.php +++ b/wcfsetup/install/files/lib/system/user/notification/event/UserRegistrationUserNotificationEvent.class.php @@ -1,19 +1,18 @@ * @package WoltLabSuite\Core\System\User\Notification\Event * @since 5.2 - * + * * @method UserRegistrationUserNotificationObject getUserNotificationObject() */ class UserRegistrationUserNotificationEvent extends AbstractUserNotificationEvent implements ITestableUserNotificationEvent { -- 2.20.1