24 $this->
init(
'oxgroups');
35 public function delete($sOXID = null)
38 $sOXID = $this->
getId();
52 $sDelete =
'delete from oxobject2group where oxobject2group.oxgroupsid = ' . $oDb->quote($sOXID);
53 $rs = $oDb->execute($sDelete);
55 $sDelete =
'delete from oxobject2delivery where oxobject2delivery.oxobjectid = ' . $oDb->quote($sOXID);
56 $rs = $oDb->execute($sDelete);
58 $sDelete =
'delete from oxobject2discount where oxobject2discount.oxobjectid = ' . $oDb->quote($sOXID);
59 $rs = $oDb->execute($sDelete);
61 $sDelete =
'delete from oxobject2payment where oxobject2payment.oxobjectid = ' . $oDb->quote($sOXID);
62 $rs = $oDb->execute($sDelete);