Commit 77d9fad7 by sensorario

Removed unnecessary else

parent 53f43ddd
......@@ -460,8 +460,7 @@ class User extends Component
$auth = Yii::$app->getAuthManager();
if ($auth !== null) {
return $auth->checkAccess($this->getId(), $operation, $params);
} else {
return false;
}
return false;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment