Skip to content
Snippets Groups Projects
Commit 6c42c7f4 authored by Balazs Varga's avatar Balazs Varga
Browse files

replaced User::setupSession() with wfSetupSession() (MW 1.18)

parent 82e34a0a
No related branches found
No related tags found
No related merge requests found
...@@ -362,7 +362,7 @@ function ShibUserLoadFromSession($user, &$result) ...@@ -362,7 +362,7 @@ function ShibUserLoadFromSession($user, &$result)
$user->load(); $user->load();
$wgAuth->existingUser = true; $wgAuth->existingUser = true;
$wgAuth->updateUser($user); //Make sure password is nologin $wgAuth->updateUser($user); //Make sure password is nologin
$user->setupSession(); wfSetupSession();
$user->setCookies(); $user->setCookies();
return true; return true;
} }
...@@ -423,7 +423,7 @@ function ShibUserLoadFromSession($user, &$result) ...@@ -423,7 +423,7 @@ function ShibUserLoadFromSession($user, &$result)
//Finish it off //Finish it off
$user->saveSettings(); $user->saveSettings();
$user->setupSession(); wfSetupSession();
$user->setCookies(); $user->setCookies();
return true; return true;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment