classes/storage/UserStorage.php
public function clear($sKey)
    {
        if (empty($sKey)) {
            return;
        }

        $this->clearDefaultStorageValue($sKey);

        //Get auth user object
        $obUser = UserHelper::instance()->getUser();
        if (empty($obUser)) {
            return;
        }

        $obUser->$sKey = null;
        $obUser->save();
    }
public function clear($sKey)
    {
        if (empty($sKey)) {
            return;
        }

        $this->clearDefaultStorageValue($sKey);

        //Get auth user object
        $obUser = UserHelper::instance()->getUser();
        if (empty($obUser)) {
            return;
        }

        $obUser->$sKey = null;
        $obUser->save();
    }
public function clear ( $ sKey ) { if ( empty ( $ sKey ) ) { return ; } $ this -> clearDefaultStorageValue ( $ sKey ) ; //Get auth user object $ obUser = UserHelper :: instance ( ) -> getUser ( ) ; if ( empty ( $ obUser ) ) { return ; } $ obUser -> $ sKey = null ; $ obUser -> save ( ) ; }
Clear value in storage
@param string $sKey
Clear value in storage