Voicemails: Database class integration.

This commit is contained in:
Nate
2019-08-17 07:02:58 -06:00
parent 8b7647971d
commit 32a8d06fa6
10 changed files with 439 additions and 502 deletions
+3 -5
View File
@@ -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;
?>
?>