From: Alexander Ebert Date: Sun, 16 Jun 2013 16:05:46 +0000 (+0200) Subject: Added update script X-Git-Tag: 2.0.0_Beta_4~30 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b8f626df6c5f0fbe17dabcfea68674c3dbab3409;p=GitHub%2FWoltLab%2FWCF.git Added update script --- 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)); + } +}