function queues_configprocess_ivr() { $action = isset($_REQUEST['action']) ? $_REQUEST['action'] : null; $display = isset($_REQUEST['display']) ? $_REQUEST['display'] : null; $id = isset($_REQUEST['id']) ? $_REQUEST['id'] : null; if ($display == 'ivr' && $action == 'delete') { queues_ivr_delete_event($id); } }
<?php if (!defined('FREEPBX_IS_AUTH')) { die('No direct script access allowed'); } sql('DROP TABLE IF EXISTS ivr_details'); sql('DROP TABLE IF EXISTS ivr_entries'); if (function_exists('queues_ivr_delete_event')) { queues_ivr_delete_event(); }