From b8f626df6c5f0fbe17dabcfea68674c3dbab3409 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sun, 16 Jun 2013 18:05:46 +0200 Subject: [PATCH] Added update script --- wcfsetup/install/files/acp/update_b4.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 wcfsetup/install/files/acp/update_b4.php diff --git a/wcfsetup/install/files/acp/update_b4.php b/wcfsetup/install/files/acp/update_b4.php new file mode 100644 index 0000000000..0810ba5d2a --- /dev/null +++ b/wcfsetup/install/files/acp/update_b4.php @@ -0,0 +1,20 @@ +prepareStatement($sql); +foreach ($removeFiles as $file) { + if (file_exists(WCF_DIR.$file)) { + @unlink(WCF_DIR.$file); + + $statement->execute(array(1, $file)); + } +} -- 2.20.1