X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Fprofile.php;h=26bd395230b8d937df35ceb1c5fcb10891116227;hb=09931b71247c2261371a5a40b38a2127f79f344d;hp=b02570d5afcca60960a6f25726225c052bd50167;hpb=0c764684bb32a9432fd161e62db907efb78af1a5;p=friendica.git
diff --git a/mod/profile.php b/mod/profile.php
index b02570d5af..26bd395230 100644
--- a/mod/profile.php
+++ b/mod/profile.php
@@ -3,7 +3,7 @@
require_once('include/contact_widgets.php');
require_once('include/redir.php');
-if(! function_exists('profile_init')) {
+
function profile_init(&$a) {
if(! x($a->page,'aside'))
@@ -65,10 +65,10 @@ function profile_init(&$a) {
foreach($dfrn_pages as $dfrn)
$a->page['htmlhead'] .= "get_baseurl()."/dfrn_{$dfrn}/{$which}\" />\r\n";
$a->page['htmlhead'] .= "get_baseurl()."/poco/{$which}\" />\r\n";
-}
+
}
-if(! function_exists('profile_content')) {
+
function profile_content(&$a, $update = 0) {
$category = $datequery = $datequery2 = '';
@@ -350,4 +350,3 @@ function profile_content(&$a, $update = 0) {
return $o;
}
-}