From: Thiemo Mättig Date: Wed, 10 Feb 2016 17:06:48 +0000 (+0100) Subject: Remove unused imports from Session classes X-Git-Tag: 1.31.0-rc.0~8015^2 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dcompta/operations/supprimer.php?a=commitdiff_plain;h=e5159debbbcb0f2789b046e7c7992af3a8290874;p=lhc%2Fweb%2Fwiklou.git Remove unused imports from Session classes Change-Id: Ia3cdd923728870f5eff0bd90fd2f6605047291c0 --- 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; /**