]> git.mxchange.org Git - friendica.git/blobdiff - mod/display.php
Merge develop into 0602_contact_profile
[friendica.git] / mod / display.php
index 9995a2b3efc2c0e0587a37d0dd2d1ca05b3c81e7..4e33927072bdf8123e17abc7a485a22dd768666a 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-if(! function_exists('display_init')) {
+
 function display_init(&$a) {
 
        if((get_config('system','block_public')) && (! local_user()) && (! remote_user())) {
@@ -85,10 +85,9 @@ function display_init(&$a) {
        }
 
        profile_load($a, $nick, 0, $profiledata);
-}
+
 }
 
-if(! function_exists('display_fetchauthor')) {
 function display_fetchauthor($a, $item) {
 
        $profiledata = array();
@@ -221,9 +220,7 @@ function display_fetchauthor($a, $item) {
 
        return($profiledata);
 }
-}
 
-if(! function_exists('display_content')) {
 function display_content(&$a, $update = 0) {
 
        if((get_config('system','block_public')) && (! local_user()) && (! remote_user())) {
@@ -525,4 +522,4 @@ function display_content(&$a, $update = 0) {
 
        return $o;
 }
-}
+