diff options
author | Dhruv <dhruv.goel92@gmail.com> | 2014-08-07 16:52:49 +0200 |
---|---|---|
committer | Dhruv <dhruv.goel92@gmail.com> | 2014-08-07 16:52:49 +0200 |
commit | 54885416404db57ad0062799f0c22db3e472169d (patch) | |
tree | 8c954a61d70cfb18f74a455db3d2ed46e4ca4a4f /phpBB | |
parent | 07a92d29df03a1a2c432382e35c0741e133787ea (diff) | |
download | forums-54885416404db57ad0062799f0c22db3e472169d.tar forums-54885416404db57ad0062799f0c22db3e472169d.tar.gz forums-54885416404db57ad0062799f0c22db3e472169d.tar.bz2 forums-54885416404db57ad0062799f0c22db3e472169d.tar.xz forums-54885416404db57ad0062799f0c22db3e472169d.zip |
[ticket/12778] Rename the file to *.bak instead of deleting
PHPBB3-12778
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/install/install_update.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/install/install_update.php b/phpBB/install/install_update.php index 7a423b622f..82ca0fc18d 100644 --- a/phpBB/install/install_update.php +++ b/phpBB/install/install_update.php @@ -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; } |