summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-02-26 07:30:29 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-02-26 07:30:29 +0000
commit665c9fdc2ca50f7960c16b375685485b3eb8b1cc (patch)
tree273088dccb033efaf0e7ed718e6041842e32c7ae /update.php
parent116de1793300f2aee3d71297c26ec448f8141196 (diff)
downloadbrdo-665c9fdc2ca50f7960c16b375685485b3eb8b1cc.tar.gz
brdo-665c9fdc2ca50f7960c16b375685485b3eb8b1cc.tar.bz2
Roll-back of users -> user table name change in #330983: Broken pgsql is no fun.
Diffstat (limited to 'update.php')
-rw-r--r--update.php18
1 files changed, 0 insertions, 18 deletions
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
@@ -608,23 +607,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.
*/
function update_task_list($active = NULL) {