Database class integration.

This commit is contained in:
Nate
2019-07-29 09:26:52 -06:00
parent d0f91703f9
commit 81a84b8e2c
5 changed files with 269 additions and 281 deletions

View File

@@ -5,8 +5,8 @@ if ($domains_processed == 1) {
$sql = "update v_dialplan_details ";
$sql .= "set dialplan_detail_data = replace(dialplan_detail_data, '-','@') ";
$sql .= "where dialplan_detail_type = 'conference' and dialplan_detail_data like '%-%';";
//echo $sql."\n";
$db->exec($sql);
$database = new database;
$database->execute($sql);
unset($sql);
}