From 852e962656dd164c1cf4e298da2ca53effa44685 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Tue, 9 Dec 2008 22:28:34 +0000 Subject: [PATCH] Revert r44367; ends up with an extra fetch :/ --- includes/Article.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 ); -- 2.20.1