Voicemails: Database class integration.
This commit is contained in:
@@ -43,12 +43,10 @@
|
||||
$text = $language->get();
|
||||
|
||||
//get the ids
|
||||
if (is_array($_REQUEST) && sizeof($_REQUEST) > 0) {
|
||||
|
||||
if (is_array($_REQUEST) && @sizeof($_REQUEST) > 0) {
|
||||
$voicemail_uuids = $_REQUEST["id"];
|
||||
foreach($voicemail_uuids as $voicemail_uuid) {
|
||||
$voicemail_uuid = check_str($voicemail_uuid);
|
||||
if ($voicemail_uuid != '') {
|
||||
if (is_uuid($voicemail_uuid)) {
|
||||
//delete voicemail messages
|
||||
require_once "resources/classes/voicemail.php";
|
||||
$voicemail = new voicemail;
|
||||
@@ -66,4 +64,4 @@
|
||||
header("Location: voicemails.php");
|
||||
return;
|
||||
|
||||
?>
|
||||
?>
|
||||
Reference in New Issue
Block a user