r33518 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r33517‎ | r33518 | r33519 >
Date:20:42, 17 April 2008
Author:aaron
Status:old
Tags:
Comment:
All or nothing
Modified paths:
  • /trunk/phase3/includes/LogPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/LogPage.php
@@ -77,7 +77,7 @@
7878
7979 $ok = ($dbw->affectedRows() != 0);
8080 # And update recentchanges
81 - if( $this->updateRecentChanges ) {
 81+ if( $ok && $this->updateRecentChanges ) {
8282 # Don't add private logs to RC!
8383 if( !isset($wgLogRestrictions[$this->type]) || $wgLogRestrictions[$this->type]=='*' ) {
8484 $titleObj = SpecialPage::getTitleFor( 'Log', $this->type );

Status & tagging log