From 4b447c71de8af0530574958e4c788186b606346f Mon Sep 17 00:00:00 2001 From: Mate Bartus Date: Sun, 18 Oct 2015 23:04:53 +0200 Subject: [PATCH] [ticket/14039] Fix file check for deleted files PHPBB3-14039 --- .../phpbb/install/module/update_filesystem/task/file_check.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/phpbb/install/module/update_filesystem/task/file_check.php b/phpBB/phpbb/install/module/update_filesystem/task/file_check.php index 9945e61714..4d9f736b0a 100644 --- a/phpBB/phpbb/install/module/update_filesystem/task/file_check.php +++ b/phpBB/phpbb/install/module/update_filesystem/task/file_check.php @@ -108,7 +108,7 @@ class file_check extends task_base $update_info['deleted'], function ($filename) use ($root_path) { - return !file_exists($root_path . $filename); + return file_exists($root_path . $filename); } ); }