[ticket/12778] Rename the file to *.bak instead of deleting

PHPBB3-12778
This commit is contained in:
Dhruv 2014-08-07 16:52:49 +02:00
parent 07a92d29df
commit 5488541640

View file

@ -1068,7 +1068,7 @@ class install_update extends module
if ($update_mode != 'download')
{
$transfer->delete_file($file_struct['filename']);
$transfer->rename($file_struct['filename'], $file_struct['filename'] . '.bak');
}
break;
}