dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Reduce some duplication in Action::getRestriction(), all but 2 (plus one extension...
[lhc/web/wiklou.git]
/
includes
/
actions
/
RevertAction.php
diff --git
a/includes/actions/RevertAction.php
b/includes/actions/RevertAction.php
index
f002ef1
..
567d0c3
100644
(file)
--- a/
includes/actions/RevertAction.php
+++ b/
includes/actions/RevertAction.php
@@
-34,10
+34,6
@@
class RevertAction extends Action {
return 'revert';
}
- public function getRestriction() {
- return null;
- }
-
public function show() {
$this->getOutput()->showErrorPage( 'nosuchaction', 'nosuchactiontext' );
}