From f8135c64877eef0c25b198694b7e198814ff4992 Mon Sep 17 00:00:00 2001 From: Platonides Date: Thu, 6 Jan 2011 22:19:42 +0000 Subject: [PATCH] Follow up r79759. Title::loadRestrictionsFromRows called by LiquidThreads --- includes/Title.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/includes/Title.php b/includes/Title.php index 429130cd53..106eabea53 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -2153,13 +2153,14 @@ class Title { /** * Compiles list of active page restrictions from both page table (pre 1.10) - * and page_restrictions table for this existing page + * and page_restrictions table for this existing page. + * Public for usage by LiquidThreads. * * @param $rows array of db result objects * @param $oldFashionedRestrictions string comma-separated list of page * restrictions from page table (pre 1.10) */ - private function loadRestrictionsFromRows( $rows, $oldFashionedRestrictions = null ) { + public function loadRestrictionsFromRows( $rows, $oldFashionedRestrictions = null ) { $dbr = wfGetDB( DB_SLAVE ); $restrictionTypes = $this->getRestrictionTypes(); -- 2.20.1