disable.sql 636 B

123456789101112131415161718
  1. TRUNCATE TABLE `bx_oauth_scopes`;
  2. -- GRID
  3. DELETE FROM `sys_objects_grid` WHERE `object` = 'bx_oauth';
  4. DELETE FROM `sys_grid_fields` WHERE `object` = 'bx_oauth';
  5. DELETE FROM `sys_grid_actions` WHERE `object` = 'bx_oauth';
  6. -- SETTINGS
  7. 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_oauth';
  8. -- PAGES
  9. DELETE FROM `sys_objects_page` WHERE `module` = 'bx_oauth_authorization';
  10. DELETE FROM `sys_pages_blocks` WHERE `module` = 'bx_oauth_authorization';