$userInstance = Registry::getRegistry()->getInstance('user');
// Get "confirmed" status from config
- $confirmed = $this->getConfigInstance()->readConfig('user_status_confirmed');
+ $confirmed = $this->getConfigInstance()->getConfigEntry('user_status_confirmed');
// Update the user status to "confirmed" here
$userInstance->updateDatabaseField(UserDatabaseWrapper::DB_COLUMN_USER_STATUS, $confirmed);