Update dialplan_copy.php
This commit is contained in:
@@ -128,13 +128,12 @@
|
|||||||
//exit;
|
//exit;
|
||||||
|
|
||||||
//add or update the database
|
//add or update the database
|
||||||
$orm = new orm;
|
$database = new database;
|
||||||
$orm->name('dialplans');
|
$database->app_name = 'dialplans';
|
||||||
$orm->app_name = 'dialplans';
|
$database->app_uuid = $app_uuid;
|
||||||
$orm->app_uuid = $app_uuid;
|
$database->uuid($dialplan_uuid);
|
||||||
$orm->uuid($dialplan_uuid);
|
$database->save($array);
|
||||||
$orm->save($array);
|
//$message = $database->message;
|
||||||
//$message = $orm->message;
|
|
||||||
|
|
||||||
//update the dialplan xml
|
//update the dialplan xml
|
||||||
$dialplans = new dialplan;
|
$dialplans = new dialplan;
|
||||||
|
|||||||
Reference in New Issue
Block a user