Show
Ignore:
Timestamp:
10/22/06 11:13:09 (7 years ago)
Author:
diego_iastrubni
Message:

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.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.2/callwaiting/uninstall.php

    r1666 r2816  
    11<?php 
    22 
    3 require_once('common/php-asmanager.php'); 
     3// TODO, is this needed...? 
     4// is this global...? what if we include this files 
     5// from a function...? 
     6global $astman; 
    47 
    58// remove all Call Waiting options in effect on extensions 
    6 $astman = new AGI_AsteriskManager(); 
    7 if ($res = $astman->connect("127.0.0.1", $amp_conf["AMPMGRUSER"] , $amp_conf["AMPMGRPASS"])) { 
    8  
     9if ($astman) { 
    910  $astman->database_deltree('CW'); 
    10  
    1111} else { 
    12  
    1312  fatal("Cannot connect to Asterisk Manager with ".$amp_conf["AMPMGRUSER"]."/".$amp_conf["AMPMGRPASS"]); 
    14  
    1513} 
    16 $astman->disconnect(); 
    1714 
    1815?>