22 $this->
init(
'oxgroups' );
33 public function delete( $sOXID = null )
36 $sOXID = $this->
getId();
50 $sDelete =
'delete from oxobject2group where oxobject2group.oxgroupsid = ' . $oDb->quote( $sOXID );
51 $rs = $oDb->execute( $sDelete );
53 $sDelete =
'delete from oxobject2delivery where oxobject2delivery.oxobjectid = ' . $oDb->quote( $sOXID );
54 $rs = $oDb->execute( $sDelete );
56 $sDelete =
'delete from oxobject2discount where oxobject2discount.oxobjectid = ' . $oDb->quote( $sOXID );
57 $rs = $oDb->execute( $sDelete );
59 $sDelete =
'delete from oxobject2payment where oxobject2payment.oxobjectid = ' . $oDb->quote( $sOXID );
60 $rs = $oDb->execute( $sDelete );