1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[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;
}