X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=framework%2Fmain%2Fclasses%2Fuser%2Fclass_BaseUser.php;fp=framework%2Fmain%2Fclasses%2Fuser%2Fclass_BaseUser.php;h=65fcd5a348ec989eeabfa04719b62ffd0d9dd932;hb=78c80d535ab3e108f8c89f2aae9ebe02270e4d63;hp=7a18a8168f289aec63639ef76868dc88ab240727;hpb=30a00c6dd22ddcb962dd1bd36af475cbc46be71b;p=core.git diff --git a/framework/main/classes/user/class_BaseUser.php b/framework/main/classes/user/class_BaseUser.php index 7a18a816..65fcd5a3 100644 --- a/framework/main/classes/user/class_BaseUser.php +++ b/framework/main/classes/user/class_BaseUser.php @@ -3,6 +3,7 @@ namespace Org\Mxchange\CoreFramework\User; // Import framework stuff +use Org\Mxchange\CoreFramework\Bootstrap\FrameworkBootstrap; use Org\Mxchange\CoreFramework\Database\Frontend\User\UserDatabaseWrapper; use Org\Mxchange\CoreFramework\Database\Updateable; use Org\Mxchange\CoreFramework\Factory\ObjectFactory; @@ -350,7 +351,7 @@ abstract class BaseUser extends BaseFrameworkSystem implements Updateable { */ public function isConfirmed () { // Determine it - $isConfirmed = ($this->getField(UserDatabaseWrapper::DB_COLUMN_USER_STATUS) == $this->getConfigInstance()->getConfigEntry('user_status_confirmed')); + $isConfirmed = ($this->getField(UserDatabaseWrapper::DB_COLUMN_USER_STATUS) == FrameworkBootstrap::getConfigurationInstance()->getConfigEntry('user_status_confirmed')); // Return it return $isConfirmed; @@ -363,7 +364,7 @@ abstract class BaseUser extends BaseFrameworkSystem implements Updateable { */ public function isGuest () { // Determine it - $isGuest = ($this->getField(UserDatabaseWrapper::DB_COLUMN_USER_STATUS) == $this->getConfigInstance()->getConfigEntry('user_status_guest')); + $isGuest = ($this->getField(UserDatabaseWrapper::DB_COLUMN_USER_STATUS) == FrameworkBootstrap::getConfigurationInstance()->getConfigEntry('user_status_guest')); // Return it return $isGuest;