Changeset 1656

Show
Ignore:
Timestamp:
04/18/06 10:38:23 (7 years ago)
Author:
rcourtna
Message:

correct error display when uninstalling modules

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/trunk/amp_conf/htdocs/admin/page.modules.php

    r1647 r1656  
    1313    case "uninstall": 
    1414      if (runModuleSQL($_POST['modname'],$_POST['modaction'])) 
     15        uninstallModule($_POST['modname']); 
     16      else 
    1517        echo "<div class=\"error\">"._("Module uninstall script failed to run")."</div>"; 
    16       uninstallModule($_POST['modname']); 
     18       
    1719    break; 
    1820    case "enable":