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

Fixed PHP 5.4 backward incompatibility

After upgraded to PHP 5.4 the extension broke with fatal error, I think caused by this: http://www.php.net/manual/en/language.references.pass.php
parent 967d2daf
No related branches found
No related tags found
No related merge requests found
......@@ -105,7 +105,7 @@ class ShibAuthPlugin extends AuthPlugin {
* @access public
*/
function updateUser( &$user ) {
wfRunHooks('ShibUpdateUser', array($this->existingUser, $user));
wfRunHooks('ShibUpdateUser', array($this->existingUser, &$user));
//For security, set password to a non-existant hash.
if ($user->mPassword != "nologin"){
......
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