Call Block: Set existing with no direction as 'inbound' blocks.
This commit is contained in:
parent
ee4ecea937
commit
f2a9e5e494
|
|
@ -40,6 +40,12 @@ if ($domains_processed == 1) {
|
||||||
$database->execute($sql, null);
|
$database->execute($sql, null);
|
||||||
unset($sql);
|
unset($sql);
|
||||||
|
|
||||||
|
//set call blocks to inbound if no direction defined
|
||||||
|
$sql = "update v_call_block set call_block_direction = 'inbound' where call_block_direction is null ";
|
||||||
|
$database = new database;
|
||||||
|
$database->execute($sql, null);
|
||||||
|
unset($sql);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue