From a67c0fc80957c5e8354f18974d63e14fcbcf8673 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Fri, 1 Jul 2005 21:05:39 +0000 Subject: [PATCH] fix notice warning in some configs --- includes/User.php | 1 + 1 file changed, 1 insertion(+) 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 -- 2.20.1