From 448937dabca0b23552717a4274e07067575eaa91 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Tue, 9 Oct 2012 11:29:09 +0200 Subject: [PATCH] Replace deprecated call. Change-Id: I71866194d72bca059e28b0bd74f4ecd5686743c4 --- includes/Article.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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() + ); } /** -- 2.20.1