r24968 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24967‎ | r24968 | r24969 >
Date:03:21, 21 August 2007
Author:aaron
Status:old
Tags:
Comment:
*If no changes, made, we have no new revision. Make $revision NULL, rather than not defined at all, as this spewed errors on no-change rollbacks
Modified paths:
  • /trunk/phase3/includes/Article.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Article.php
@@ -1396,6 +1396,7 @@
13971397 $dbw->commit();
13981398 }
13991399 } else {
 1400+ $revision = null;
14001401 // Keep the same revision ID, but do some updates on it
14011402 $revisionId = $this->getRevIdFetched();
14021403 // Update page_touched, this is usually implicit in the page update

Follow-up revisions

RevisionCommit summaryAuthorDate
r25016Merged revisions 24866-25015 via svnmerge from...david23:06, 21 August 2007

Status & tagging log