settings: remove call to profile_load()
This commit is contained in:
parent
6c50eba206
commit
18ecac4e93
|
@ -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') . "';" ;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user