Portions created by the Initial Developer are Copyright (C) 2008-2012 the Initial Developer. All Rights Reserved. Contributor(s): Mark J Crane */ require "root.php"; require_once "resources/require.php"; require_once "resources/check_auth.php"; if (permission_exists('call_broadcast_delete')) { //access granted } else { echo "access denied"; exit; } //add multi-lingual support $language = new text; $text = $language->get(); //delete the call broadcast entry if (is_uuid($_GET["id"])) { $call_broadcast_uuid = $_GET['id']; $array['call_broadcasts'][0]['call_broadcast_uuid'] = $call_broadcast_uuid; $array['call_broadcasts'][0]['domain_uuid'] = $_SESSION['domain_uuid']; $database = new database; $database->app_name = 'call_broadcasts'; $database->app_uuid = 'efc11f6b-ed73-9955-4d4d-3a1bed75a056'; $database->delete($array); unset($array); message::add($text['message-delete']); } header("Location: call_broadcast.php"); return; ?>