From 00da64c25d93f7de1200ee02d65fb37dfbddffed Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Tue, 19 May 2015 23:23:18 +0200 Subject: [PATCH] Remove check for outdated APC version MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit APC 3.1.4 won’t even run on PHP 5.4, so it’s safe to remove the check here. --- wcfsetup/install/files/global.php | 5 ----- 1 file changed, 5 deletions(-) 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(); -- 2.20.1