Changeset 8932

Show
Ignore:
Timestamp:
02/25/10 17:57:44 (3 years ago)
Author:
p_lindheimer
Message:

really fixes #4081 migrates to amportal.php in the command column of the table

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.7/backup/install.php

    r8929 r8932  
    176176} 
    177177 
     178// This should only be needed once. But the original migration did not do it and there is no harm in cleansing the database anyhow 
     179outn(_('Replacing ampbackup.pl in db..')); 
     180$sql=$db->query("UPDATE backup SET command = REPLACE(command,'ampbackup.pl','ampbackup.php')"); 
     181if(DB::IsError($sql)) { 
     182  out(_('an error has occured, update not done')); 
     183  out($sql->getMessage()); 
     184} else { 
     185  out(_('ok')); 
     186} 
     187 
    178188// Remove retrieve_backup_cron_from_mysql.pl if still there and a link 
    179189// 
  • modules/branches/2.7/backup/module.xml

    r8899 r8932  
    22  <rawname>backup</rawname> 
    33  <name>Backup &amp; Restore</name> 
    4   <version>2.7.0.3</version> 
     4  <version>2.7.0.4</version> 
    55  <publisher>FreePBX</publisher> 
    66  <license>GPLv2+</license> 
     
    1515  </depends> 
    1616  <changelog> 
     17    *2.7.0.4* #4081 
    1718    *2.7.0.3* #4064 
    1819    *2.7.0.2* #4061, #4062, #4063