1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-03 15:27:42 +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') if ($update_mode != 'download')
{ {
$transfer->delete_file($file_struct['filename']); $transfer->rename($file_struct['filename'], $file_struct['filename'] . '.bak');
} }
break; break;
} }