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 @@
1397
1397
$dbw->commit();
1398
1398
}
1399
1399
} else {
1400
+ $revision = null;
1400
1401
// Keep the same revision ID, but do some updates on it
1401
1402
$revisionId = $this->getRevIdFetched();
1402
1403
// Update page_touched, this is usually implicit in the page update
Follow-up revisions
Revision
Commit summary
Author
Date
r25016
Merged revisions 24866-25015 via svnmerge from...
david
23:06, 21 August 2007
Status & tagging log
15:20, 12 September 2011
Meno25
(
talk
|
contribs
)
changed the
status
of r24968
[
removed:
ok
added:
old]