- Patch #20690 by jhriggs: editing a user does not clear the menu cache.

4.7.x
Dries Buytaert 2005-04-18 20:43:26 +00:00
parent 3adf556c6a
commit 52826b0052
2 changed files with 2 additions and 2 deletions

View File

@ -1144,7 +1144,7 @@ function user_edit($category = 'account') {
else {
user_save($account, $edit, $category);
// Delete that user's menu cache.
cache_clear_all('menu:'. $account->uid);
cache_clear_all('menu:'. $account->uid, TRUE);
drupal_set_message(t('The changes have been saved.'));
drupal_goto("user/$account->uid");
}

View File

@ -1144,7 +1144,7 @@ function user_edit($category = 'account') {
else {
user_save($account, $edit, $category);
// Delete that user's menu cache.
cache_clear_all('menu:'. $account->uid);
cache_clear_all('menu:'. $account->uid, TRUE);
drupal_set_message(t('The changes have been saved.'));
drupal_goto("user/$account->uid");
}