r111463 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r111462
|
r111463
|
r111464
>
Date:
15:06, 14 February 2012
Author:
ialex
Status:
ok
Tags:
Comment:
Also call $this->clear() from WikiPage::doDeleteUpdates() so that the object is in a consistent state after deletion
Modified paths:
/trunk/phase3/includes/WikiPage.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/WikiPage.php
—
—
@@ -2104,6 +2104,9 @@
2105
2105
# Clear caches
2106
2106
self::onArticleDelete( $this->mTitle );
2107
2107
2108
+ # Reset this object
2109
+ $this->clear();
2110
+
2108
2111
# Clear the cached article id so the interface doesn't act like we exist
2109
2112
$this->mTitle->resetArticleID( 0 );
2110
2113
}
Status & tagging log
19:10, 14 February 2012
Aaron Schulz
(
talk
|
contribs
)
changed the
status
of r111463
[
removed:
new
added:
ok]