Show
Ignore:
Timestamp:
11/21/10 14:46:33 (3 years ago)
Author:
p_lindheimer
Message:

closes #4651 update module uninstalls to ignore feature codes now being deleted by module_uninstall

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.9/callforward/uninstall.php

    r9254 r10606  
    2323global $astman; 
    2424 
    25 // Unconditional Call Forwarding 
    26 $fcc = new featurecode('callforward', 'cfon'); 
    27 $fcc->delete(); 
    28 unset($fcc); 
    29  
    30 $fcc = new featurecode('callforward', 'cfoff'); 
    31 $fcc->delete(); 
    32 unset($fcc); 
    33  
    34 $fcc = new featurecode('callforward', 'cfoff_any'); 
    35 $fcc->delete(); 
    36 unset($fcc); 
    37  
    38 // Call Forward on Busy 
    39 $fcc = new featurecode('callforward', 'cfbon'); 
    40 $fcc->delete(); 
    41 unset($fcc); 
    42  
    43 $fcc = new featurecode('callforward', 'cfboff'); 
    44 $fcc->delete(); 
    45 unset($fcc); 
    46  
    47 $fcc = new featurecode('callforward', 'cfboff_any'); 
    48 $fcc->delete(); 
    49 unset($fcc); 
    50  
    51 // Call Forward on No Answer/Unavailable (i.e. phone not registered) 
    52 $fcc = new featurecode('callforward', 'cfuon'); 
    53 $fcc->delete(); 
    54 unset($fcc); 
    55  
    56 $fcc = new featurecode('callforward', 'cfuoff'); 
    57 $fcc->delete(); 
    58 unset($fcc); 
    59  
    60 $fcc = new featurecode('callforward', 'cf_toggle'); 
    61 $fcc->delete(); 
    62 unset($fcc); 
     25// Don't bother uninstalling feature codes, now module_uninstall does it 
    6326 
    6427// remove all Call Forward options in effect on extensions