Index: trunk/phase3/includes/User.php |
— | — | @@ -247,7 +247,7 @@ |
248 | 248 | break; |
249 | 249 | case 'session': |
250 | 250 | $this->loadFromSession(); |
251 | | - wfRunHooks( 'UserLoadAfterLoadFromSession', array( $this, &$result ) ); |
| 251 | + wfRunHooks( 'UserLoadAfterLoadFromSession', array( $this ) ); |
252 | 252 | break; |
253 | 253 | default: |
254 | 254 | throw new MWException( "Unrecognised value for User->mFrom: \"{$this->mFrom}\"" ); |