* Shut this up
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Wed, 17 Dec 2008 14:07:07 +0000 (14:07 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Wed, 17 Dec 2008 14:07:07 +0000 (14:07 +0000)
includes/UserMailer.php

index 333f076..05ba9a3 100644 (file)
@@ -262,7 +262,7 @@ class EmailNotification {
         * The recipient is appended to the arguments given to messageCompositionFunction.
         * Both callbacks are to be given in the same formats accepted by the hook system.
         */
-       function notify($editor, $timestamp, $userListFunction, $messageCompositionFunction) {
+       static function notify($editor, $timestamp, $userListFunction, $messageCompositionFunction) {
                global $wgEnotifUseRealName, $wgEnotifImpersonal;
                global $wgLang;