Revert "Updated modules to allow for partial overrides without errors"

This reverts commit db949bb802.
This commit is contained in:
fabrixxm 2016-02-07 15:11:34 +01:00
parent d6cf791677
commit b202e02fbf
123 changed files with 471 additions and 768 deletions

View file

@ -3,7 +3,7 @@
require_once('include/socgraph.php');
require_once('include/contact_widgets.php');
if(! function_exists('suggest_init')) {
function suggest_init(&$a) {
if(! local_user())
return;
@ -42,13 +42,13 @@ function suggest_init(&$a) {
);
}
}
}
}
if(! function_exists('suggest_content')) {
function suggest_content(&$a) {
require_once("mod/proxy.php");
@ -110,9 +110,8 @@ function suggest_content(&$a) {
$o .= replace_macros($tpl,array(
'$title' => t('Friend Suggestions'),
'$contacts' => $entries,
));
return $o;
}
}