diff options
-rw-r--r-- | mod/zfinger.php | 5 | ||||
-rw-r--r-- | version.inc | 2 |
2 files changed, 4 insertions, 3 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) diff --git a/version.inc b/version.inc index 6826f4ae0..0ecd5d881 100644 --- a/version.inc +++ b/version.inc @@ -1 +1 @@ -2014-07-04.726 +2014-07-05.727 |