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

@ -1,6 +1,5 @@
<?php
if(! function_exists('profperm_init')) {
function profperm_init(&$a) {
if(! local_user())
@ -10,10 +9,10 @@ function profperm_init(&$a) {
$profile = $a->argv[1];
profile_load($a,$which,$profile);
}
}
if(! function_exists('profperm_content')) {
function profperm_content(&$a) {
if(! local_user()) {
@ -109,9 +108,9 @@ function profperm_content(&$a) {
}
$o .= '<div id="prof-update-wrapper">';
if($change)
if($change)
$o = '';
$o .= '<div id="prof-members-title">';
$o .= '<h3>' . t('Visible To') . '</h3>';
$o .= '</div>';
@ -157,5 +156,6 @@ function profperm_content(&$a) {
}
$o .= '</div>';
return $o;
}
}