1
1
Fork 0

settings: remove call to profile_load()

This commit is contained in:
Fabio Comuni 2012-04-12 08:42:00 +02:00
parent 6c50eba206
commit 18ecac4e93

View file

@ -15,10 +15,6 @@ function get_theme_config_file($theme){
} }
function settings_init(&$a) { function settings_init(&$a) {
if(local_user()) {
profile_load($a,$a->user['nickname']);
}
// These lines provide the javascript needed by the acl selector // These lines provide the javascript needed by the acl selector
$a->page['htmlhead'] .= "<script> var ispublic = '" . t('everybody') . "';" ; $a->page['htmlhead'] .= "<script> var ispublic = '" . t('everybody') . "';" ;