From: Aaron Schulz Date: Tue, 9 Dec 2008 22:28:34 +0000 (+0000) Subject: Revert r44367; ends up with an extra fetch :/ X-Git-Tag: 1.31.0-rc.0~44080 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=852e962656dd164c1cf4e298da2ca53effa44685;p=lhc%2Fweb%2Fwiklou.git Revert r44367; ends up with an extra fetch :/ --- diff --git a/includes/Article.php b/includes/Article.php index 88b182e140..8061efb95f 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -372,8 +372,7 @@ class Article { $this->mTitle->mTouched = wfTimestamp( TS_MW, $data->page_touched ); # Old-fashioned restrictions - if( $data->page_restrictions ) - $this->mTitle->loadRestrictions( $data->page_restrictions ); + $this->mTitle->loadRestrictions( $data->page_restrictions ); $this->mCounter = $data->page_counter; $this->mTouched = wfTimestamp( TS_MW, $data->page_touched );