Revert "Updated modules to allow for partial overrides without errors"
This reverts commit db949bb802.
This commit is contained in:
+3
-8
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user