Index: trunk/phase3/docs/hooks.txt |
— | — | @@ -565,7 +565,7 @@ |
566 | 566 | $watched: Whether or not the change is watched by the user. |
567 | 567 | |
568 | 568 | 'ConfirmEmailComplete': Called after a user's email has been confirmed successfully |
569 | | -&$user: user (object) whose email is being confirmed |
| 569 | +$user: user (object) whose email is being confirmed |
570 | 570 | |
571 | 571 | 'ContribsPager::getQueryInfo': Before the contributions query is about to run |
572 | 572 | &$pager: Pager object for contributions |
— | — | @@ -848,7 +848,7 @@ |
849 | 849 | &$this->mStripState: Parser's internal StripState object |
850 | 850 | |
851 | 851 | 'InvalidateEmailComplete': Called after a user's email has been invalidated successfully |
852 | | -&$user: user (object) whose email is being invalidated |
| 852 | +$user: user (object) whose email is being invalidated |
853 | 853 | |
854 | 854 | 'IsFileCacheable': Override the result of Article::isFileCacheable() (if true) |
855 | 855 | $article: article (object) being checked |
Index: trunk/phase3/includes/User.php |
— | — | @@ -2946,7 +2946,7 @@ |
2947 | 2947 | */ |
2948 | 2948 | function confirmEmail() { |
2949 | 2949 | $this->setEmailAuthenticationTimestamp( wfTimestampNow() ); |
2950 | | - wfRunHooks( 'ConfirmEmailComplete', array( &$this ) ); |
| 2950 | + wfRunHooks( 'ConfirmEmailComplete', array( $this ) ); |
2951 | 2951 | return true; |
2952 | 2952 | } |
2953 | 2953 | |
— | — | @@ -2961,7 +2961,7 @@ |
2962 | 2962 | $this->mEmailToken = null; |
2963 | 2963 | $this->mEmailTokenExpires = null; |
2964 | 2964 | $this->setEmailAuthenticationTimestamp( null ); |
2965 | | - wfRunHooks( 'InvalidateEmailComplete', array( &$this ) ); |
| 2965 | + wfRunHooks( 'InvalidateEmailComplete', array( $this ) ); |
2966 | 2966 | return true; |
2967 | 2967 | } |
2968 | 2968 | |