Revision 276
- Date:
- 2013/02/07 18:22:53
- Files:
Legend:
- Added
- Removed
- Modified
-
utf8/plugins/webshop/lib/webshop/Coupon.pm
188 188 189 189 my $sql = $self->keeper->SQL->prepare('DELETE FROM webshop_coupons where pid = ?'); 190 190 $sql->execute( $self->id ); 191 my $sql = $self->keeper->SQL->prepare('DELETE FROM webshop_coupon_links where source_id = ?'); 191 $sql = $self->keeper->SQL->prepare('DELETE FROM webshop_coupon_links where source_id = ?'); 192 192 $sql->execute( $self->id ); 193 my $sql = $self->keeper->SQL->prepare('DELETE FROM webshop_order_coupons where dest_id = ?'); 193 $sql = $self->keeper->SQL->prepare('DELETE FROM webshop_order_coupons where dest_id = ?'); 194 194 $sql->execute( $self->id ); 195 195 196 196 1;