]> git.mxchange.org Git - friendica.git/blobdiff - mod/group.php
Merge pull request #2425 from annando/1603-ostatus
[friendica.git] / mod / group.php
index 2f8053eefb8ed5bb717b528841aa91f3930c9a3b..5b28784f5663cc1b7056125b26619416e9e76b6d 100644 (file)
@@ -1,21 +1,18 @@
 <?php
 
-if(! function_exists('validate_members')) {
 function validate_members(&$item) {
        $item = intval($item);
 }
-}
 
-if(! function_exists('group_init')) {
 function group_init(&$a) {
        if(local_user()) {
                require_once('include/group.php');
                $a->page['aside'] = group_side('contacts','group','extended',(($a->argc > 1) ? intval($a->argv[1]) : 0));
        }
 }
-}
 
-if(! function_exists('group_post')) {
+
+
 function group_post(&$a) {
 
        if(! local_user()) {
@@ -67,9 +64,7 @@ function group_post(&$a) {
        }
        return;
 }
-}
 
-if(! function_exists('group_content')) {
 function group_content(&$a) {
        $change = false;
 
@@ -234,5 +229,5 @@ function group_content(&$a) {
        }
 
        return replace_macros($tpl, $context);
-}
+
 }