includes/api/ApiRemoveAuthenticationData.php
Method execute
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function execute() {
if ( !$this->getUser()->isNamed() ) {
$this->dieWithError( 'apierror-mustbeloggedin-removeauth', 'notloggedin' );
}