Documentation

Remove unreachable return

Remove unused globals
This commit is contained in:
Sam Reed 2012-01-05 20:31:02 +00:00
parent 8397cb27e3
commit a084822a88
Notes: Raimond Spekking 2012-03-12 20:46:25 +00:00

View file

@ -7,14 +7,12 @@ class AbuseFilterViewRevert extends AbuseFilterView {
function show() {
$filter = $this->mPage->mFilter;
global $wgUser, $wgOut;
$user = $this->getUser();
$out = $this->getOutput();
$sk = $this->getSkin();
if ( !$user->isAllowed( 'abusefilter-revert' ) ) {
throw new PermissionsError( 'abusefilter-revert' );
return;
}
$this->loadParameters();