From 7ff265c11dfe879218b061ad75e6048258af36a8 Mon Sep 17 00:00:00 2001 From: Nate Date: Sat, 15 Feb 2020 11:24:48 -0700 Subject: [PATCH] Call Broadcast: Remove deprecated delete script. --- app/call_broadcast/call_broadcast_delete.php | 59 -------------------- 1 file changed, 59 deletions(-) delete mode 100644 app/call_broadcast/call_broadcast_delete.php diff --git a/app/call_broadcast/call_broadcast_delete.php b/app/call_broadcast/call_broadcast_delete.php deleted file mode 100644 index 4e6073c2ec..0000000000 --- a/app/call_broadcast/call_broadcast_delete.php +++ /dev/null @@ -1,59 +0,0 @@ - - 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; - -?> \ No newline at end of file