summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-05-28 10:17:52 +0000
committerDries Buytaert <dries@buytaert.net>2010-05-28 10:17:52 +0000
commit26e00c3757266917c5684869025c728cc1ff66a7 (patch)
treec68410398cadd924887f9f3eca12e455e34acd40 /modules
parent1613777a1e957be90e451aa9166199da8df7d189 (diff)
downloadbrdo-26e00c3757266917c5684869025c728cc1ff66a7.tar.gz
brdo-26e00c3757266917c5684869025c728cc1ff66a7.tar.bz2
- Patch #811170 by scor: missing db_drop_index() in user_update_7005().
Diffstat (limited to 'modules')
-rw-r--r--modules/user/user.install1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/user/user.install b/modules/user/user.install
index f7fc69303..6cc5d144d 100644
--- a/modules/user/user.install
+++ b/modules/user/user.install
@@ -565,6 +565,7 @@ function user_update_7005(&$sandbox) {
'default' => '',
'description' => 'E-mail address used for initial account creation.',
);
+ db_drop_index('users', 'mail');
db_change_field('users', 'mail', 'mail', $mail_field, array('indexes' => array('mail' => array('mail'))));
db_change_field('users', 'init', 'init', $init_field);
}