Skip to content

Commit

Permalink
Another step toward removing old table vars, this is why we should be…
Browse files Browse the repository at this point in the history
… careful about naming things! Fixes #2524

git-svn-id: http://svn.automattic.com/wordpress/trunk@3951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
matt committed Jul 4, 2006
1 parent f20ce5d commit b1aee5c
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions wp-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,18 +91,8 @@ function timer_start() {
if ( defined('CUSTOM_USER_META_TABLE') )
$wpdb->usermeta = CUSTOM_USER_META_TABLE;

// We're going to need to keep this around for a few months even though we're not using it internally

$tableposts = $wpdb->posts;
$tableusers = $wpdb->users;
$tablecategories = $wpdb->categories;
$tablepost2cat = $wpdb->post2cat;
$tablecomments = $wpdb->comments;
$tablelink2cat = $wpdb->link2cat;
$tablelinks = $wpdb->links;
$tablelinkcategories = $wpdb->linkcategories;
$tableoptions = $wpdb->options;
$tablepostmeta = $wpdb->postmeta;
// To be removed in 2.2
$tableposts = $tableusers = $tablecategories = $tablepost2cat = $tablecomments = $tablelink2cat = $tablelinks = $tablelinkcategories = $tableoptions = $tablepostmeta = '';

if ( file_exists(ABSPATH . 'wp-content/object-cache.php') )
require (ABSPATH . 'wp-content/object-cache.php');
Expand Down

0 comments on commit b1aee5c

Please sign in to comment.