http://www.mediawiki.org/wiki/Special:Code/MediaWiki/55469

Revision: 55469
Author:   raymond
Date:     2009-08-22 07:03:52 +0000 (Sat, 22 Aug 2009)

Log Message:
-----------
Follow-up r55459: Fix for PHP Notice: Undefined variable: deleted in 
/var/www/w/includes/UserMailer.php on line 379

Modified Paths:
--------------
    trunk/phase3/includes/UserMailer.php

Modified: trunk/phase3/includes/UserMailer.php
===================================================================
--- trunk/phase3/includes/UserMailer.php        2009-08-22 06:49:47 UTC (rev 
55468)
+++ trunk/phase3/includes/UserMailer.php        2009-08-22 07:03:52 UTC (rev 
55469)
@@ -339,7 +339,7 @@
 
        }
 
-       /*
+       /**
         * Immediate version of notifyOnPageChange().
         *
         * Send emails corresponding to the user $editor editing the page 
$title.
@@ -354,7 +354,7 @@
         * @param $watchers array of user IDs
         * @param $deleted boolean If page was deleted
         */
-       function actuallyNotifyOnPageChange($editor, $title, $timestamp, 
$summary, $minorEdit, $oldid, $watchers) {
+       function actuallyNotifyOnPageChange( $editor, $title, $timestamp, 
$summary, $minorEdit, $oldid, $watchers, $deleted ) {
                # we use $wgPasswordSender as sender's address
                global $wgEnotifWatchlist;
                global $wgEnotifMinorEdits, $wgEnotifUserTalk;



_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to