From: Brion Vibber Date: Thu, 20 Aug 2009 21:31:38 +0000 (+0000) Subject: bug 20327 Error in FlaggedRevs.hooks.php after r55168's restructuring of history... X-Git-Tag: 1.31.0-rc.0~40172 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/bilan.php?a=commitdiff_plain;h=0e6945d0eac7709e0e0c382fec12aa8af4023f7c;p=lhc%2Fweb%2Fwiklou.git bug 20327 Error in FlaggedRevs.hooks.php after r55168's restructuring of history page classes --- diff --git a/includes/HistoryPage.php b/includes/HistoryPage.php index bf859571b7..c8f3595ebd 100644 --- a/includes/HistoryPage.php +++ b/includes/HistoryPage.php @@ -270,6 +270,11 @@ class HistoryPager extends ReverseChronologicalPager { $this->tagFilter = $tagFilter; $this->getDateCond( $year, $month ); } + + // For hook compatibility... + function getArticle() { + return $this->historyPage->getArticle(); + } function getQueryInfo() { $queryInfo = array(