]> git.mxchange.org Git - friendica.git/commitdiff
settings: remove call to profile_load()
authorFabio Comuni <fabrix.xm@gmail.com>
Thu, 12 Apr 2012 06:42:00 +0000 (08:42 +0200)
committerFabio Comuni <fabrix.xm@gmail.com>
Thu, 12 Apr 2012 06:42:00 +0000 (08:42 +0200)
mod/settings.php

index 94851c20bbbc346a170ba3fef220f11a900519db..2dd9fb9a682bd99750a491ea6e13229160ed31db 100644 (file)
@@ -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'] .= "<script> var ispublic = '" . t('everybody') . "';" ;