summaryrefslogtreecommitdiff
path: root/modules/user/user.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-08-30 08:46:17 +0000
committerDries Buytaert <dries@buytaert.net>2006-08-30 08:46:17 +0000
commit8fdf7a87503c9572fa481e4edc2f913a1385eb48 (patch)
treec25c1206468d5868763a91825ce2505284c9198b /modules/user/user.module
parentda47651fb6671965efb459513e986cd5bac8b5fd (diff)
downloadbrdo-8fdf7a87503c9572fa481e4edc2f913a1385eb48.tar.gz
brdo-8fdf7a87503c9572fa481e4edc2f913a1385eb48.tar.bz2
- Patch #72290 by killes: split up the cache table.
Diffstat (limited to 'modules/user/user.module')
-rw-r--r--modules/user/user.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index 54f279d60..32eb5c0ba 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -1461,7 +1461,7 @@ function user_edit_submit($form_id, $form_values) {
user_module_invoke('submit', $form_values, $account, $category);
user_save($account, $form_values, $category);
// Delete that user's menu cache.
- cache_clear_all('menu:'. $account->uid, TRUE);
+ cache_clear_all($account->uid .':', 'cache_menu', TRUE);
drupal_set_message(t('The changes have been saved.'));
return 'user/'. $account->uid;
}
@@ -2065,7 +2065,7 @@ function user_admin_account_submit($form_id, $edit) {
}
call_user_func_array($function, $args);
- cache_clear_all();
+ cache_clear_all('*', 'cache_menu', TRUE);
drupal_set_message(t('The update has been performed.'));
}
}