mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/12778] Rename the file to *.bak instead of deleting
PHPBB3-12778
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user