From: Brion Vibber Date: Fri, 1 Jul 2005 21:05:39 +0000 (+0000) Subject: fix notice warning in some configs X-Git-Tag: 1.5.0beta2~96 X-Git-Url: https://git.cyclocoop.org/?a=commitdiff_plain;h=a67c0fc80957c5e8354f18974d63e14fcbcf8673;p=lhc%2Fweb%2Fwiklou.git fix notice warning in some configs --- diff --git a/includes/User.php b/includes/User.php index d968c46920..2a7a9b5081 100644 --- a/includes/User.php +++ b/includes/User.php @@ -1266,6 +1266,7 @@ class User { if ( wfReadOnly() ) { return ; } $dbr =& wfGetDB( DB_SLAVE ); $dbw =& wfGetDB( DB_MASTER ); + $changed = false; if ( $wgUseEnotif ) { if ( ! $this->getNewtalk() ) { # Delete the watchlist entry for user_talk page X watched by user X