Changeset 7878
- Timestamp:
- 06/29/09 19:36:32 (1 year ago)
- Files:
-
- modules/branches/2.5/core/functions.inc.php (modified) (1 diff)
- modules/branches/2.5/core/page.trunks.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.5/core/functions.inc.php
r7794 r7878 4470 4470 } 4471 4471 4472 /* Delete all occurences of the specified trunk from all routes that may use it 4473 */ 4474 function core_routing_trunk_del($trunknum) { 4475 global $db; 4476 4477 $sql = "DELETE FROM `extensions` WHERE `application` = 'Macro' AND `context` LIKE 'outrt-%' AND `args` LIKE 'dialout-%,$trunknum,%'"; 4478 $result = $db->query($sql); 4479 } 4480 4472 4481 function core_routing_rename($oldname, $newname) { 4473 4482 global $db; modules/branches/2.5/core/page.trunks.php
r7409 r7878 95 95 96 96 core_trunks_del($trunknum); 97 core_routing_trunk_del($trunknum); 97 98 98 99 /* //DIALRULES
