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:
434ceec
)
Fix for r47964: correct check
author
Alexandre Emsenhuber
<ialex@users.mediawiki.org>
Tue, 3 Mar 2009 16:30:02 +0000
(16:30 +0000)
committer
Alexandre Emsenhuber
<ialex@users.mediawiki.org>
Tue, 3 Mar 2009 16:30:02 +0000
(16:30 +0000)
includes/Article.php
patch
|
blob
|
history
diff --git
a/includes/Article.php
b/includes/Article.php
index
3f079a9
..
0e942de
100644
(file)
--- a/
includes/Article.php
+++ b/
includes/Article.php
@@
-1953,7
+1953,7
@@
class Article {
return false;
}
- if (
wfReadOnly(
) ) {
+ if (
!$this->mTitle->userCan( 'protect'
) ) {
wfDebug( "updateRestrictions failed: insufficient permissions\n" );
return false;
}