From: Aaron Schulz Date: Thu, 17 Apr 2008 20:42:29 +0000 (+0000) Subject: All or nothing X-Git-Tag: 1.31.0-rc.0~48222 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/password.php?a=commitdiff_plain;h=3c64de6374b4043b8ab3f1711f6d1ff0891e94f7;p=lhc%2Fweb%2Fwiklou.git All or nothing --- diff --git a/includes/LogPage.php b/includes/LogPage.php index 34c935d99c..86c806d63b 100644 --- a/includes/LogPage.php +++ b/includes/LogPage.php @@ -77,7 +77,7 @@ class LogPage { $ok = ($dbw->affectedRows() != 0); # And update recentchanges - if( $this->updateRecentChanges ) { + if( $ok && $this->updateRecentChanges ) { # Don't add private logs to RC! if( !isset($wgLogRestrictions[$this->type]) || $wgLogRestrictions[$this->type]=='*' ) { $titleObj = SpecialPage::getTitleFor( 'Log', $this->type );