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 "Remove broken test."
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialUserlogout.php
diff --git
a/includes/specials/SpecialUserlogout.php
b/includes/specials/SpecialUserlogout.php
index
ab2bf0a
..
4be36c6
100644
(file)
--- a/
includes/specials/SpecialUserlogout.php
+++ b/
includes/specials/SpecialUserlogout.php
@@
-49,8
+49,11
@@
class SpecialUserlogout extends UnlistedSpecialPage {
$oldName = $user->getName();
$user->logout();
$oldName = $user->getName();
$user->logout();
+ $loginURL = SpecialPage::getTitleFor( 'Userlogin' )->getFullURL(
+ $this->getRequest()->getValues( 'returnto', 'returntoquery' ) );
+
$out = $this->getOutput();
$out = $this->getOutput();
- $out->addWikiMsg( 'logouttext' );
+ $out->addWikiMsg( 'logouttext'
, $loginURL
);
// Hook.
$injected_html = '';
// Hook.
$injected_html = '';