From: Siebrand Mazeland Date: Tue, 9 Oct 2012 09:29:09 +0000 (+0200) Subject: Replace deprecated call. X-Git-Tag: 1.31.0-rc.0~22095^2 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/gestion/rappel_supprimer.php?a=commitdiff_plain;h=448937dabca0b23552717a4274e07067575eaa91;p=lhc%2Fweb%2Fwiklou.git Replace deprecated call. Change-Id: I71866194d72bca059e28b0bd74f4ecd5686743c4 --- diff --git a/includes/Article.php b/includes/Article.php index 2180e88b4d..ee963384e1 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -1960,7 +1960,13 @@ class Article extends Page { * @return bool */ public function updateRestrictions( $limit = array(), $reason = '', &$cascade = 0, $expiry = array() ) { - return $this->mPage->updateRestrictions( $limit, $reason, $cascade, $expiry ); + return $this->mPage->doUpdateRestrictions( + $limit, + $expiry, + $cascade, + $reason, + $this->getContext()->getUser() + ); } /**