From 54885416404db57ad0062799f0c22db3e472169d Mon Sep 17 00:00:00 2001 From: Dhruv <dhruv.goel92@gmail.com> Date: Thu, 7 Aug 2014 16:52:49 +0200 Subject: [ticket/12778] Rename the file to *.bak instead of deleting PHPBB3-12778 --- phpBB/install/install_update.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/install') 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; } -- cgit v1.2.1