Merge "Declare dynamic properties"
[lhc/web/wiklou.git] / includes / specials / SpecialEditTags.php
index 1dd1969..48357aa 100644 (file)
@@ -129,7 +129,7 @@ class SpecialEditTags extends UnlistedSpecialPage {
                        $this->ids
                );
 
-               $this->isAllowed = $user->isAllowed( 'changetags' );
+               $this->isAllowed = $this->permissionManager->userHasRight( $user, 'changetags' );
 
                $this->reason = $request->getVal( 'wpReason' );
                // We need a target page!