From: Platonides Date: Thu, 6 Jan 2011 22:19:42 +0000 (+0000) Subject: Follow up r79759. Title::loadRestrictionsFromRows called by LiquidThreads X-Git-Tag: 1.31.0-rc.0~32738 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=f8135c64877eef0c25b198694b7e198814ff4992;p=lhc%2Fweb%2Fwiklou.git Follow up r79759. Title::loadRestrictionsFromRows called by LiquidThreads --- 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();