public function isUpdateAvailable($user, $version_key, $schema_version)
    {
        $user_fields_version = $this->getSetting($version_key, 'user_internal', $user);
        if (!$user_fields_version) {
            $user_fields_version = 0;
        }

        if ($user_fields_version < $schema_version) {
            return true;
        }

        return false;
    }
public function isUpdateAvailable($user, $version_key, $schema_version)
    {
        $user_fields_version = $this->getSetting($version_key, 'user_internal', $user);
        if (!$user_fields_version) {
            $user_fields_version = 0;
        }

        if ($user_fields_version < $schema_version) {
            return true;
        }

        return false;
    }
public function isUpdateAvailable ( $ user , $ version_key , $ schema_version ) { $ user_fields_version = $ this -> getSetting ( $ version_key , 'user_internal' , $ user ) ; if ( ! $ user_fields_version ) { $ user_fields_version = 0 ; } if ( $ user_fields_version < $ schema_version ) { return true ; } return false ; }
Returns true if there is a update of the user fields
Returns true if there is a update of the user fields