mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/12778] Rename the file to *.bak instead of deleting
PHPBB3-12778
This commit is contained in:
parent
07a92d29df
commit
5488541640
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue