Index: trunk/phase3/includes/Article.php |
— | — | @@ -2576,7 +2576,6 @@ |
2577 | 2577 | |
2578 | 2578 | # Clear the cached article id so the interface doesn't act like we exist |
2579 | 2579 | $this->mTitle->resetArticleID( 0 ); |
2580 | | - $this->mTitle->mArticleID = 0; |
2581 | 2580 | |
2582 | 2581 | # Log the deletion, if the page was suppressed, log it at Oversight instead |
2583 | 2582 | $logtype = $suppress ? 'suppress' : 'delete'; |
Index: trunk/phase3/includes/Title.php |
— | — | @@ -2110,7 +2110,7 @@ |
2111 | 2111 | $linkCache = LinkCache::singleton(); |
2112 | 2112 | $linkCache->clearBadLink( $this->getPrefixedDBkey() ); |
2113 | 2113 | |
2114 | | - if ( 0 == $newid ) { $this->mArticleID = -1; } |
| 2114 | + if ( $newid === false ) { $this->mArticleID = -1; } |
2115 | 2115 | else { $this->mArticleID = $newid; } |
2116 | 2116 | $this->mRestrictionsLoaded = false; |
2117 | 2117 | $this->mRestrictions = array(); |