diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-09-29 15:13:57 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-09-29 15:13:57 +0000 |
commit | cef10893892a1c40f73fd972969c3512b0983cd6 (patch) | |
tree | c295a5dea1cc8f5d0ced7e7c967c70cf34f33c73 /modules/profile/profile.install | |
parent | 0a0b067c2404b041454cc7a5fc8cfbbb9ecd6027 (diff) | |
download | brdo-cef10893892a1c40f73fd972969c3512b0983cd6.tar.gz brdo-cef10893892a1c40f73fd972969c3512b0983cd6.tar.bz2 |
- Patch #570900 by Crell | asimmonds: Changed Destroy remnants of update_sql().
Diffstat (limited to 'modules/profile/profile.install')
-rw-r--r-- | modules/profile/profile.install | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/profile/profile.install b/modules/profile/profile.install index b07780671..153f30959 100644 --- a/modules/profile/profile.install +++ b/modules/profile/profile.install @@ -151,8 +151,6 @@ function profile_schema() { * Rename {profile_fields} table to {profile_field} and {profile_values} to {profile_value}. */ function profile_update_7001() { - $ret = array(); - db_rename_table($ret, 'profile_fields', 'profile_field'); - db_rename_table($ret, 'profile_values', 'profile_value'); - return $ret; + db_rename_table('profile_fields', 'profile_field'); + db_rename_table('profile_values', 'profile_value'); } |