From 97aee6df12b17859ccaf6dbf916f088d8beb5524 Mon Sep 17 00:00:00 2001 From: cadeyrn Date: Mon, 27 Feb 2012 09:34:49 +0000 Subject: [PATCH] apc_cache_info replaced with apc_sma_info, faster git-svn-id: http://plugins.svn.wordpress.org/wp-ffpc/trunk@511033 b8457f37-d9ea-0310-8a92-e5e31aec5664 --- wp-ffpc-common.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-ffpc-common.php b/wp-ffpc-common.php index d7dffe4..95b2777 100644 --- a/wp-ffpc-common.php +++ b/wp-ffpc-common.php @@ -42,10 +42,10 @@ function wp_ffpc_init( $wp_ffpc_config ) { /* in case of apc */ case 'apc': /* verify apc functions exist, apc ext is loaded */ - if (!function_exists('apc_cache_info')) + if (!function_exists('apc_sma_info')) return false; /* verify apc is working */ - if ( !apc_cache_info() ) + if ( !apc_sma_info() ) return false; $wp_ffpc_backend_status = true; break;