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:
31acb35
)
Reverting the revert, the problem was an error in the extension.
author
Rotem Liss
<rotem@users.mediawiki.org>
Sun, 16 Jul 2006 16:10:41 +0000
(16:10 +0000)
committer
Rotem Liss
<rotem@users.mediawiki.org>
Sun, 16 Jul 2006 16:10:41 +0000
(16:10 +0000)
includes/SpecialPage.php
patch
|
blob
|
history
diff --git
a/includes/SpecialPage.php
b/includes/SpecialPage.php
index
8ab7a41
..
3a52f85
100644
(file)
--- a/
includes/SpecialPage.php
+++ b/
includes/SpecialPage.php
@@
-456,11
+456,7
@@
class SpecialPage
* special page (as defined by $mRestriction)
*/
function userCanExecute( &$user ) {
- if ( $this->mRestriction == "" ) {
- return true;
- } else {
- return $user->isAllowed( $this->mRestriction );
- }
+ return $user->isAllowed( $this->mRestriction );
}
/**