source/Application/Model/VoucherSerie.php
public function unsetUserGroups()
    {
        $oDb = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();
        $sDelete = 'delete from oxobject2group where oxobjectid = ' . $oDb->quote($this->getId());
        $oDb->execute($sDelete);
    }
public function unsetUserGroups()
    {
        $oDb = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();
        $sDelete = 'delete from oxobject2group where oxobjectid = ' . $oDb->quote($this->getId());
        $oDb->execute($sDelete);
    }
public function unsetUserGroups ( ) { $ oDb = \ OxidEsales \ Eshop \ Core \ DatabaseProvider :: getDb ( ) ; $ sDelete = 'delete from oxobject2group where oxobjectid = ' . $ oDb -> quote ( $ this -> getId ( ) ) ; $ oDb -> execute ( $ sDelete ) ; }
Removes user groups relations.
Removes user groups relations .