mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-24 06:03:49 +00:00
Documentation
Remove unreachable return Remove unused globals
This commit is contained in:
parent
8397cb27e3
commit
a084822a88
Notes:
Raimond Spekking
2012-03-12 20:46:25 +00:00
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue