aboutsummaryrefslogtreecommitdiffstats
path: root/mod/zfinger.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/zfinger.php')
-rw-r--r--mod/zfinger.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/zfinger.php b/mod/zfinger.php
index d79025885..bd1463591 100644
--- a/mod/zfinger.php
+++ b/mod/zfinger.php
@@ -105,9 +105,11 @@ function zfinger_init(&$a) {
$searchable = (($e['channel_pageflags'] & PAGE_HIDDEN) ? false : true);
$deleted = (($e['xchan_flags'] & XCHAN_FLAGS_DELETED) ? true : false);
- if(($e['xchan_flags'] & XCHAN_FLAGS_HIDDEN) || $deleted || $censored)
+ if($deleted || $censored)
$searchable = false;
+
+
// This is for birthdays and keywords, but must check access permissions
$p = q("select * from profile where uid = %d and is_default = 1",
intval($e['channel_id'])
@@ -252,7 +254,6 @@ function zfinger_init(&$a) {
$register_policy = intval(get_config('system','register_policy'));
-
if($register_policy == REGISTER_CLOSED)
$ret['site']['register_policy'] = 'closed';
if($register_policy == REGISTER_APPROVE)