]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/user/class_BaseUser.php
Rewrite continued:
[core.git] / framework / main / classes / user / class_BaseUser.php
index f8b945f9e704e01ea02ddc17ad9bcec4a0f39eaa..34761fefd06821934e3b89df9984886336af6959 100644 (file)
@@ -130,7 +130,7 @@ class BaseUser extends BaseFrameworkSystem implements Updateable {
         */
        public function ifUsernameExists () {
                // By default the username does not exist
-               $exists = FALSE;
+               $exists = false;
 
                // Is a previous result there?
                if (!$this->getResultInstance() instanceof SearchableResult) {
@@ -160,7 +160,7 @@ class BaseUser extends BaseFrameworkSystem implements Updateable {
                // Search for it
                if ($this->getResultInstance()->next()) {
                        // Entry found
-                       $exists = TRUE;
+                       $exists = true;
                } // END - if
 
                // Return the status
@@ -174,7 +174,7 @@ class BaseUser extends BaseFrameworkSystem implements Updateable {
         */
        public function ifEmailAddressExists () {
                // By default the email does not exist
-               $exists = FALSE;
+               $exists = false;
 
                // Is a previous result there?
                if (!$this->getResultInstance() instanceof SearchableResult) {
@@ -204,7 +204,7 @@ class BaseUser extends BaseFrameworkSystem implements Updateable {
                // Search for it
                if ($this->getResultInstance()->next()) {
                        // Entry found
-                       $exists = TRUE;
+                       $exists = true;
 
                        // Is the username set?
                        if ($this->getUserName() == '') {
@@ -229,7 +229,7 @@ class BaseUser extends BaseFrameworkSystem implements Updateable {
         */
        public function ifPasswordHashMatches (Requestable $requestInstance) {
                // By default nothing matches... ;)
-               $matches = FALSE;
+               $matches = false;
 
                // Is a previous result there?
                if ((!$this->getResultInstance() instanceof SearchableResult) || ($this->getResultInstance()->count() == 0)) {