root/modules/branches/2.2/callforward/uninstall.php

Revision 2816, 424 bytes (checked in by diego_iastrubni, 7 years ago)

updated modules to reflect the new change in policy. i did not bump up the versions, since the modules should still work, i will let the developers of each module nump up versions on their free time, in order to reduce the updates sent to the users.

  • Property svn:mime-type set to text/html
  • Property svn:eol-style set to native
Line 
1 <?php
2
3 // TODO, is this needed...?
4 // is this global...? what if we include this files
5 // from a function...?
6 global $astman;
7
8 // remove all Call Forward options in effect on extensions
9 if ($astman) {
10   $astman->database_deltree('CF');
11   $astman->database_deltree('CFB');
12   $astman->database_deltree('CFU');
13 } else {
14   fatal("Cannot connect to Asterisk Manager with ".$amp_conf["AMPMGRUSER"]."/".$amp_conf["AMPMGRPASS"]);
15 }
16
17 ?>
Note: See TracBrowser for help on using the browser.