X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fcity%2Fclasses%2Fregistration%2Fclass_CityRegistration.php;h=5c1e74ba417bc3b2ff737d28166393a1dcd2f062;hb=2a4a84d632f4e2319b974c3ffd5d93613b1e785b;hp=3b4ca6d788faa84d5058f99bc2719548e6d55233;hpb=a9213d23971254059d47038fb054ac808ecdc6fc;p=city.git diff --git a/application/city/classes/registration/class_CityRegistration.php b/application/city/classes/registration/class_CityRegistration.php index 3b4ca6d..5c1e74b 100644 --- a/application/city/classes/registration/class_CityRegistration.php +++ b/application/city/classes/registration/class_CityRegistration.php @@ -177,7 +177,7 @@ class CityRegistration extends BaseRegistration implements UserRegister { $configEntry = 'user_status_unconfirmed'; // Is the confirmation process entirely disabled? - if ($this->getConfigInstance()->getConfigEntry('confirm_email_enabled') === 'N') { + if (FrameworkBootstrap::getConfigurationInstance()->getConfigEntry('confirm_email_enabled') === 'N') { // No confirmation of email needed $configEntry = 'user_status_confirmed'; } // END - if @@ -200,7 +200,7 @@ class CityRegistration extends BaseRegistration implements UserRegister { } // Is this a guest account? - if ((($element == 'username') || ($alias == 'username')) && (FrameworkBootstrap::getRequestInstance()->getRequestElement($element) == $this->getConfigInstance()->getConfigEntry('guest_login_user'))) { + if ((($element == 'username') || ($alias == 'username')) && (FrameworkBootstrap::getRequestInstance()->getRequestElement($element) == FrameworkBootstrap::getConfigurationInstance()->getConfigEntry('guest_login_user'))) { // Yes, then set the config entry to guest status $configEntry = 'user_status_guest'; } // END - if