dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Add a hook into LanguageConverter#getPreferredVariant() to allow extensions...
[lhc/web/wiklou.git]
/
includes
/
auth
/
AuthenticationResponse.php
diff --git
a/includes/auth/AuthenticationResponse.php
b/includes/auth/AuthenticationResponse.php
index
6684fb9
..
956c985
100644
(file)
--- a/
includes/auth/AuthenticationResponse.php
+++ b/
includes/auth/AuthenticationResponse.php
@@
-133,7
+133,7
@@
class AuthenticationResponse {
*/
public static function newPass( $username = null ) {
$ret = new AuthenticationResponse;
*/
public static function newPass( $username = null ) {
$ret = new AuthenticationResponse;
- $ret->status =
AuthenticationResponse
::PASS;
+ $ret->status =
self
::PASS;
$ret->username = $username;
return $ret;
}
$ret->username = $username;
return $ret;
}
@@
-145,7
+145,7
@@
class AuthenticationResponse {
*/
public static function newFail( Message $msg ) {
$ret = new AuthenticationResponse;
*/
public static function newFail( Message $msg ) {
$ret = new AuthenticationResponse;
- $ret->status =
AuthenticationResponse
::FAIL;
+ $ret->status =
self
::FAIL;
$ret->message = $msg;
$ret->messageType = 'error';
return $ret;
$ret->message = $msg;
$ret->messageType = 'error';
return $ret;
@@
-158,7
+158,7
@@
class AuthenticationResponse {
*/
public static function newRestart( Message $msg ) {
$ret = new AuthenticationResponse;
*/
public static function newRestart( Message $msg ) {
$ret = new AuthenticationResponse;
- $ret->status =
AuthenticationResponse
::RESTART;
+ $ret->status =
self
::RESTART;
$ret->message = $msg;
return $ret;
}
$ret->message = $msg;
return $ret;
}
@@
-169,7
+169,7
@@
class AuthenticationResponse {
*/
public static function newAbstain() {
$ret = new AuthenticationResponse;
*/
public static function newAbstain() {
$ret = new AuthenticationResponse;
- $ret->status =
AuthenticationResponse
::ABSTAIN;
+ $ret->status =
self
::ABSTAIN;
return $ret;
}
return $ret;
}
@@
-189,7
+189,7
@@
class AuthenticationResponse {
}
$ret = new AuthenticationResponse;
}
$ret = new AuthenticationResponse;
- $ret->status =
AuthenticationResponse
::UI;
+ $ret->status =
self
::UI;
$ret->neededRequests = $reqs;
$ret->message = $msg;
$ret->messageType = $msgtype;
$ret->neededRequests = $reqs;
$ret->message = $msg;
$ret->messageType = $msgtype;
@@
-209,7
+209,7
@@
class AuthenticationResponse {
}
$ret = new AuthenticationResponse;
}
$ret = new AuthenticationResponse;
- $ret->status =
AuthenticationResponse
::REDIRECT;
+ $ret->status =
self
::REDIRECT;
$ret->neededRequests = $reqs;
$ret->redirectTarget = $redirectTarget;
$ret->redirectApiData = $redirectApiData;
$ret->neededRequests = $reqs;
$ret->redirectTarget = $redirectTarget;
$ret->redirectApiData = $redirectApiData;