From: Alexandre Emsenhuber Date: Fri, 18 Nov 2011 07:10:03 +0000 (+0000) Subject: Fix for r103502: make PoolWorkArticleView::doWork() return true when the parse is... X-Git-Tag: 1.31.0-rc.0~26436 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=e725d564518f7e6dd22329bc2e70da5cc89ba1db;p=lhc%2Fweb%2Fwiklou.git Fix for r103502: make PoolWorkArticleView::doWork() return true when the parse is successful; also fixed getIsDirty() to return the member parameter and not try to execute a non-existing function --- diff --git a/includes/WikiPage.php b/includes/WikiPage.php index 1de6c1783a..fff85cec77 100644 --- a/includes/WikiPage.php +++ b/includes/WikiPage.php @@ -2792,7 +2792,7 @@ class PoolWorkArticleView extends PoolCounterWork { * @return bool */ public function getIsDirty() { - return $this->isDirty(); + return $this->isDirty; } /** @@ -2849,6 +2849,8 @@ class PoolWorkArticleView extends PoolCounterWork { if ( $isCurrent ) { $this->page->doCascadeProtectionUpdates( $this->parserOutput ); } + + return true; } /**