Show
Ignore:
Timestamp:
05/02/11 17:00:34 (2 years ago)
Author:
mbrevda
Message:

re #5117 - reload manager after restoring configs

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.9/backup/functions.inc.php

    r12062 r12063  
    176176      exec("/bin/rm -rf /tmp/ampbackups.$fileholder",$out_arr,$ret); 
    177177      backup_errors($error_cause, $ret, _('failed to remove exploded backup sets from tmp')); 
     178      exec('asterisk -rx "module reload manager"'); 
    178179      if(!count($error_cause)){$message=_("Restored All Files in Backup Set");} 
    179180       
     
    225226      exec("/bin/rm -rf /tmp/ampbackups.$fileholder 2>&1",$out_arr,$ret); 
    226227      backup_errors($error_cause, $ret, _('failed to remove exploded backup sets from tmp')); 
     228      exec('asterisk -rx "module reload manager"'); 
    227229      if(!count($error_cause)){$message=_("Restored System Configuration");} 
    228230    break;