Browse Source

Removed unnecessary else

tags/2.0.0-beta
sensorario 12 years ago
parent
commit
77d9fad701
  1. 3
      framework/web/User.php

3
framework/web/User.php

@ -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;
}
}

Loading…
Cancel
Save