Created
August 10, 2011 17:01
-
-
Save glennpratt/1137420 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/www/modules/user/user.pages.inc b/www/modules/user/user.pages.inc | |
| index 748f08c..e5f7e5b 100644 | |
| --- a/www/modules/user/user.pages.inc | |
| +++ b/www/modules/user/user.pages.inc | |
| @@ -293,10 +293,6 @@ function user_profile_form_submit($form, &$form_state) { | |
| // Clear the page cache because pages can contain usernames and/or profile information: | |
| cache_clear_all(); | |
| - if (user_access('select different theme')) { | |
| - // This prevents the system theme from getting corrupted. | |
| - init_theme(); | |
| - } | |
| drupal_set_message(t('The changes have been saved.')); | |
| return; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment