$configEntry = 'user_status_unconfirmed';
// Is the confirmation process entirely disabled?
- if ($this->getConfigInstance()->readConfig('confirm_email_enabled') === "N") {
+ if ($this->getConfigInstance()->getConfigEntry('confirm_email_enabled') === "N") {
// No confirmation of email needed
$configEntry = 'user_status_confirmed';
} // END - if
}
// Is this a guest account?
- if ((($element == "username") || ($alias == "username")) && ($this->getRequestInstance()->getRequestElement($element) == $this->getConfigInstance()->readConfig('guest_login_user'))) {
+ if ((($element == "username") || ($alias == "username")) && ($this->getRequestInstance()->getRequestElement($element) == $this->getConfigInstance()->getConfigEntry('guest_login_user'))) {
// Yes, then set the config entry to guest status
$configEntry = 'user_status_guest';
} // END - if