From: Tim Düsterhus Date: Tue, 19 May 2015 21:23:18 +0000 (+0200) Subject: Remove check for outdated APC version X-Git-Tag: 3.0.0_Beta_1~2376 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=00da64c25d93f7de1200ee02d65fb37dfbddffed;p=GitHub%2FWoltLab%2FWCF.git Remove check for outdated APC version APC 3.1.4 won’t even run on PHP 5.4, so it’s safe to remove the check here. --- diff --git a/wcfsetup/install/files/global.php b/wcfsetup/install/files/global.php index 9dd5f21357..ce47830e8f 100644 --- a/wcfsetup/install/files/global.php +++ b/wcfsetup/install/files/global.php @@ -15,11 +15,6 @@ if (!defined('PACKAGE_ID')) { // define the wcf-root-dir define('WCF_DIR', dirname(__FILE__).'/'); -// APC below 3.1.4 breaks PHP's late static binding -if (extension_loaded('apc') && strnatcmp(phpversion('apc'), '3.1.4') < 0) { - apc_clear_cache('opcode'); -} - // initiate wcf core require_once(WCF_DIR.'lib/system/WCF.class.php'); new wcf\system\WCF();