Update conference_profile_delete.php
Delete the child data for conference profiles.
This commit is contained in:
parent
57e63c7023
commit
4d7818a043
|
|
@ -25,10 +25,18 @@
|
||||||
|
|
||||||
//delete the data
|
//delete the data
|
||||||
if (strlen($id) > 0) {
|
if (strlen($id) > 0) {
|
||||||
|
//delete the conference_profile_params
|
||||||
|
$sql = "delete from v_conference_profile_params ";
|
||||||
|
$sql .= "where conference_profile_uuid = '$id' ";
|
||||||
|
//$sql .= "and domain_uuid = '$domain_uuid' ";
|
||||||
|
$prep_statement = $db->prepare(check_sql($sql));
|
||||||
|
$prep_statement->execute();
|
||||||
|
unset($sql);
|
||||||
|
|
||||||
//delete conference_profile
|
//delete conference_profile
|
||||||
$sql = "delete from v_conference_profiles ";
|
$sql = "delete from v_conference_profiles ";
|
||||||
$sql .= "where conference_profile_uuid = '$id' ";
|
$sql .= "where conference_profile_uuid = '$id' ";
|
||||||
$sql .= "and domain_uuid = '$domain_uuid' ";
|
//$sql .= "and domain_uuid = '$domain_uuid' ";
|
||||||
$prep_statement = $db->prepare(check_sql($sql));
|
$prep_statement = $db->prepare(check_sql($sql));
|
||||||
$prep_statement->execute();
|
$prep_statement->execute();
|
||||||
unset($sql);
|
unset($sql);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue