disable.sql 482 B

1234567891011
  1. -- Settings
  2. DELETE FROM `top`, `toc`, `to` USING `sys_options_types` AS `top` LEFT JOIN `sys_options_categories` AS `toc` ON `top`.`id`=`toc`.`type_id` LEFT JOIN `sys_options` AS `to` ON `toc`.`id`=`to`.`category_id` WHERE `top`.`name` = 'bx_mailchimp';
  3. -- Alerts
  4. SET @iHandlerId := (SELECT `id` FROM `sys_alerts_handlers` WHERE `name` = 'bx_mailchimp');
  5. DELETE FROM `sys_alerts_handlers` WHERE `id` = @iHandlerId;
  6. DELETE FROM `sys_alerts` WHERE `handler_id` = @iHandlerId ;