make public forums only setting sticky and simplify function to get directory settings
This commit is contained in:
@@ -276,7 +276,7 @@ function dir_tagblock($link,$r) {
|
||||
$o = '';
|
||||
|
||||
$observer = get_observer_hash();
|
||||
if(! get_globaldir_setting($observer))
|
||||
if(! get_directory_settings($observer, 'globaldir'))
|
||||
return $o;
|
||||
|
||||
|
||||
@@ -407,4 +407,4 @@ function get_things($profile_hash,$uid) {
|
||||
//logger('things: ' . print_r($sorted_things,true));
|
||||
|
||||
return $sorted_things;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user