diff --git a/demo/plugins/cacheresource.apc.php b/demo/plugins/cacheresource.apc.php index 5403f3bc..00ba5981 100644 --- a/demo/plugins/cacheresource.apc.php +++ b/demo/plugins/cacheresource.apc.php @@ -17,12 +17,6 @@ class Smarty_CacheResource_Apc extends Smarty_CacheResource_KeyValueStore { if(!function_exists('apc_cache_info')) { throw new Exception('APC Template Caching Error: APC is not installed'); } - - apc_store(array('foo' => 'bar')); - $t = apc_fetch(array('foo')); - if (!$t || $t['foo'] != 'bar') { - throw new Exception('APC Template Caching Error: APC is not working properly'); - } } /**