From 60220997a63fa983c8200d666b71350a924056ba Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 2 Jan 2008 23:03:25 +0000 Subject: [PATCH] Fix cache close. see #5570 git-svn-id: http://svn.automattic.com/wordpress/trunk@6540 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/cache.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/wp-includes/cache.php b/wp-includes/cache.php index 2b407d0fe6..9a185a9bdc 100644 --- a/wp-includes/cache.php +++ b/wp-includes/cache.php @@ -6,11 +6,7 @@ function wp_cache_add($key, $data, $flag = '', $expire = 0) { } function wp_cache_close() { - global $wp_object_cache; - - if ( ! isset($wp_object_cache) ) - return; - return $wp_object_cache->save(); + return true; } function wp_cache_delete($id, $flag = '') {