Revert "Updated modules to allow for partial overrides without errors"
This reverts commit db949bb802
.
This commit is contained in:
parent
d6cf791677
commit
b202e02fbf
123 changed files with 471 additions and 768 deletions
|
@ -1,5 +1,5 @@
|
|||
<?php
|
||||
if(! function_exists('display_init')) {
|
||||
|
||||
function display_init(&$a) {
|
||||
|
||||
if((get_config('system','block_public')) && (! local_user()) && (! remote_user())) {
|
||||
|
@ -85,10 +85,9 @@ function display_init(&$a) {
|
|||
}
|
||||
|
||||
profile_load($a, $nick, 0, $profiledata);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if(! function_exists('display_fetchauthor')) {
|
||||
function display_fetchauthor($a, $item) {
|
||||
|
||||
$profiledata = array();
|
||||
|
@ -221,9 +220,7 @@ function display_fetchauthor($a, $item) {
|
|||
|
||||
return($profiledata);
|
||||
}
|
||||
}
|
||||
|
||||
if(! function_exists('display_content')) {
|
||||
function display_content(&$a, $update = 0) {
|
||||
|
||||
if((get_config('system','block_public')) && (! local_user()) && (! remote_user())) {
|
||||
|
@ -525,4 +522,4 @@ function display_content(&$a, $update = 0) {
|
|||
|
||||
return $o;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue