dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
4ae7ca5
)
Merge "Remove unused imports from Session classes"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Wed, 10 Feb 2016 19:21:27 +0000
(19:21 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Wed, 10 Feb 2016 19:21:27 +0000
(19:21 +0000)
includes/session/SessionInfo.php
patch
|
blob
|
history
includes/session/SessionManager.php
patch
|
blob
|
history
includes/user/BotPassword.php
patch
|
blob
|
history
tests/phpunit/includes/session/SessionInfoTest.php
patch
|
blob
|
history
diff --git
a/includes/session/SessionInfo.php
b/includes/session/SessionInfo.php
index
9fe2cdf
..
ff40aa5
100644
(file)
--- 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
07291e9
..
83c30ab
100644
(file)
--- 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
6f713f1
..
fca7775
100644
(file)
--- 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
b411f3c
..
f9c9b8e
100644
(file)
--- 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;
/**