From 665c9fdc2ca50f7960c16b375685485b3eb8b1cc Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Thu, 26 Feb 2009 07:30:29 +0000 Subject: Roll-back of users -> user table name change in #330983: Broken pgsql is no fun. --- update.php | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'update.php') diff --git a/update.php b/update.php index 15e8bafa4..215727314 100644 --- a/update.php +++ b/update.php @@ -592,7 +592,6 @@ function update_prepare_d7_bootstrap() { drupal_install_init_database(); spl_autoload_unregister('drupal_autoload_class'); spl_autoload_unregister('drupal_autoload_interface'); - update_prepare_d7_bootstrap_rename(); // The new {blocked_ips} table is used in Drupal 7 to store a list of // banned IP addresses. If this table doesn't exist then we are still // running on a Drupal 6 database, so suppress the unavoidable errors @@ -607,23 +606,6 @@ function update_prepare_d7_bootstrap() { } } -/** - * Rename tables: - * - {users} to {user} - * - {users_roles} to {user_role} - * - {sessions} to {session} - */ -function update_prepare_d7_bootstrap_rename() { - $ret = array(); - - if (db_table_exists('users')) { - db_rename_table($ret, 'users', 'user'); - db_rename_table($ret, 'users_roles', 'user_role'); - } - - return $ret; -} - /** * Add the update task list to the current page. */ -- cgit v1.2.3