From e5159debbbcb0f2789b046e7c7992af3a8290874 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thiemo=20M=C3=A4ttig?= Date: Wed, 10 Feb 2016 18:06:48 +0100 Subject: [PATCH] Remove unused imports from Session classes Change-Id: Ia3cdd923728870f5eff0bd90fd2f6605047291c0 --- includes/session/SessionInfo.php | 4 ---- includes/session/SessionManager.php | 2 -- includes/user/BotPassword.php | 3 --- tests/phpunit/includes/session/SessionInfoTest.php | 1 - 4 files changed, 10 deletions(-) diff --git a/includes/session/SessionInfo.php b/includes/session/SessionInfo.php index 9fe2cdf15c..ff40aa5a5d 100644 --- a/includes/session/SessionInfo.php +++ b/includes/session/SessionInfo.php @@ -23,10 +23,6 @@ namespace MediaWiki\Session; -use Psr\Log\LoggerInterface; -use BagOStuff; -use WebRequest; - /** * Value object returned by SessionProvider * diff --git a/includes/session/SessionManager.php b/includes/session/SessionManager.php index 07291e98e8..83c30aba3b 100644 --- a/includes/session/SessionManager.php +++ b/includes/session/SessionManager.php @@ -28,8 +28,6 @@ use BagOStuff; use CachedBagOStuff; use Config; use FauxRequest; -use Language; -use Message; use User; use WebRequest; diff --git a/includes/user/BotPassword.php b/includes/user/BotPassword.php index 6f713f1b29..fca777591e 100644 --- a/includes/user/BotPassword.php +++ b/includes/user/BotPassword.php @@ -18,9 +18,6 @@ * http://www.gnu.org/copyleft/gpl.html */ -use MediaWiki\Session\BotPasswordSessionProvider; -use MediaWiki\Session\SessionInfo; - /** * Utility class for bot passwords * @since 1.27 diff --git a/tests/phpunit/includes/session/SessionInfoTest.php b/tests/phpunit/includes/session/SessionInfoTest.php index b411f3c48d..f9c9b8ee67 100644 --- a/tests/phpunit/includes/session/SessionInfoTest.php +++ b/tests/phpunit/includes/session/SessionInfoTest.php @@ -2,7 +2,6 @@ namespace MediaWiki\Session; -use Psr\Log\LogLevel; use MediaWikiTestCase; /** -- 2.20.1