dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b74641
)
Replace deprecated call.
author
Siebrand Mazeland
<s.mazeland@xs4all.nl>
Tue, 9 Oct 2012 09:29:09 +0000
(11:29 +0200)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Tue, 9 Oct 2012 09:43:06 +0000
(09:43 +0000)
Change-Id: I71866194d72bca059e28b0bd74f4ecd5686743c4
includes/Article.php
patch
|
blob
|
history
diff --git
a/includes/Article.php
b/includes/Article.php
index
2180e88
..
ee96338
100644
(file)
--- 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()
+ );
}
/**