summaryrefslogtreecommitdiff
path: root/modules/system/system.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-10-06 11:30:12 +0000
committerDries Buytaert <dries@buytaert.net>2008-10-06 11:30:12 +0000
commit026af5df34694c8ca5c3708f3fe23fd10ec160cb (patch)
tree3c557e61dd8b65bc31cd3538d499f08785c7d134 /modules/system/system.module
parenteabf7ab4ca423df42e53d11de30a814b39b03800 (diff)
downloadbrdo-026af5df34694c8ca5c3708f3fe23fd10ec160cb.tar.gz
brdo-026af5df34694c8ca5c3708f3fe23fd10ec160cb.tar.bz2
- Patch #310212 by justinrandell, catch, et all: killed in _user hook, as well as two small kittens.
Diffstat (limited to 'modules/system/system.module')
-rw-r--r--modules/system/system.module8
1 files changed, 3 insertions, 5 deletions
diff --git a/modules/system/system.module b/modules/system/system.module
index 68d2c24ad..39019fe78 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -711,12 +711,10 @@ function system_preprocess_page(&$variables) {
}
/**
- * Implementation of hook_user().
- *
- * Allows users to individually set their theme and time zone.
+ * Implementation of hook_user_form().
*/
-function system_user($type, $edit, &$user, $category = NULL) {
- if ($type == 'form' && $category == 'account') {
+function system_user_form(&$edit, &$user, $category = NULL) {
+ if ($category == 'account') {
$form['theme_select'] = system_theme_select_form(t('Selecting a different theme will change the look and feel of the site.'), isset($edit['theme']) ? $edit['theme'] : NULL, 2);
if (variable_get('configurable_timezones', 1)) {