From 18ecac4e933e96f4ddc8b53ee1291b70c2a99540 Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Thu, 12 Apr 2012 08:42:00 +0200 Subject: [PATCH] settings: remove call to profile_load() --- mod/settings.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mod/settings.php b/mod/settings.php index 94851c20bb..2dd9fb9a68 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -15,10 +15,6 @@ function get_theme_config_file($theme){ } function settings_init(&$a) { - if(local_user()) { - profile_load($a,$a->user['nickname']); - } - // These lines provide the javascript needed by the acl selector $a->page['htmlhead'] .= "