summaryrefslogtreecommitdiff
path: root/modules/profile/profile.admin.inc
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-02-18 15:19:57 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-02-18 15:19:57 +0000
commitff9e842730ccf251cf8b76401e4df1b1c6edcea2 (patch)
tree2b10ab740305648bee997708b6d651a3816e3545 /modules/profile/profile.admin.inc
parentdf591c8f4032041613192e1b7836725f92ea7b10 (diff)
downloadbrdo-ff9e842730ccf251cf8b76401e4df1b1c6edcea2.tar.gz
brdo-ff9e842730ccf251cf8b76401e4df1b1c6edcea2.tar.bz2
#330983 by recidive and boombatower: Rename users/users_roles tables to user/user_role for consistency.
Diffstat (limited to 'modules/profile/profile.admin.inc')
-rw-r--r--modules/profile/profile.admin.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/profile/profile.admin.inc b/modules/profile/profile.admin.inc
index e0252ce10..b7ee8b2cf 100644
--- a/modules/profile/profile.admin.inc
+++ b/modules/profile/profile.admin.inc
@@ -294,7 +294,7 @@ function profile_field_form_validate($form, &$form_state) {
form_set_error('name', t('The specified form name contains one or more illegal characters. Spaces or any other special characters except dash (-) and underscore (_) are not allowed.'));
}
- $users_table = drupal_get_schema('users');
+ $users_table = drupal_get_schema('user');
if (!empty($users_table['fields'][$form_state['values']['name']])) {
form_set_error('name', t('The specified form name is reserved for use by Drupal.'));
}