From f7e5557f6e501469aa9ca23ce8a04514d55b3635 Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 25 May 2007 09:45:55 +0000 Subject: [PATCH] Don't load category cache from old tables. see #4189 git-svn-id: http://svn.automattic.com/wordpress/trunk@5544 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/cache.php | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/wp-includes/cache.php b/wp-includes/cache.php index bbdf84c43..2f01b5adf 100644 --- a/wp-includes/cache.php +++ b/wp-includes/cache.php @@ -186,16 +186,7 @@ class WP_Object_Cache { } function load_group_from_db($group) { - global $wpdb; - - if ('category' == $group) { - $this->cache['category'] = array (); - if ($dogs = $wpdb->get_results("SELECT * FROM $wpdb->categories")) { - foreach ($dogs as $catt) - $this->cache['category'][$catt->cat_ID] = $catt; - } - } - + return; } function make_group_dir($group, $perms) {