diff options
author | Chad Horohoe <demon@users.mediawiki.org> | 2011-12-06 17:40:12 +0000 |
---|---|---|
committer | Chad Horohoe <demon@users.mediawiki.org> | 2011-12-06 17:40:12 +0000 |
commit | 394a5ba7a79e8017bb04c5155c6d8820789effa8 (patch) | |
tree | b497496be645b1740e3b3264b1cd13ab90b2e9e5 /includes/actions/RevertAction.php | |
parent | 959aa336a173d51744664333188834a227d7e963 (diff) | |
download | mediawikicore-394a5ba7a79e8017bb04c5155c6d8820789effa8.tar.gz mediawikicore-394a5ba7a79e8017bb04c5155c6d8820789effa8.zip |
Reduce some duplication in Action::getRestriction(), all but 2 (plus one extension) return null anyway
Notes
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/105320
Diffstat (limited to 'includes/actions/RevertAction.php')
-rw-r--r-- | includes/actions/RevertAction.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/includes/actions/RevertAction.php b/includes/actions/RevertAction.php index f002ef120148..567d0c37f890 100644 --- 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' ); } |