Don't load category cache from old tables. see #4189

git-svn-id: https://develop.svn.wordpress.org/trunk@5544 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2007-05-25 09:45:55 +00:00
parent f1a0a595d7
commit 6bf777e1d9
1 changed files with 1 additions and 10 deletions

View File

@ -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) {