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)
$user->load();
$wgAuth->existingUser = true;
$wgAuth->updateUser($user); //Make sure password is nologin
$user->setupSession();
wfSetupSession();
$user->setCookies();
return true;
}
......@@ -423,7 +423,7 @@ function ShibUserLoadFromSession($user, &$result)
//Finish it off
$user->saveSettings();
$user->setupSession();
wfSetupSession();
$user->setCookies();
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