aboutsummaryrefslogtreecommitdiffstats
path: root/mod/zfinger.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-03-19 15:56:30 -0700
committerfriendica <info@friendica.com>2015-03-19 15:56:30 -0700
commitb1fd6c53a5f86fd752db9c5394cae8f67492f07e (patch)
tree552446b414bc8d5c21ce2518c5ebafd8f5813f03 /mod/zfinger.php
parent24ebaaf0f70f3452c72c0ac4017bff1144728da8 (diff)
downloadvolse-hubzilla-b1fd6c53a5f86fd752db9c5394cae8f67492f07e.tar.gz
volse-hubzilla-b1fd6c53a5f86fd752db9c5394cae8f67492f07e.tar.bz2
volse-hubzilla-b1fd6c53a5f86fd752db9c5394cae8f67492f07e.zip
tweaks to directory registrations which don't seem to be happening, also downgrade any directory that claims to be a primary directory for RED_GLOBAL.
Diffstat (limited to 'mod/zfinger.php')
-rw-r--r--mod/zfinger.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/mod/zfinger.php b/mod/zfinger.php
index f4b7efd96..e236a1e73 100644
--- a/mod/zfinger.php
+++ b/mod/zfinger.php
@@ -239,11 +239,6 @@ function zfinger_init(&$a) {
if(($dirmode === false) || ($dirmode == DIRECTORY_MODE_NORMAL))
$ret['site']['directory_mode'] = 'normal';
- // downgrade mis-configured primaries
-
- if($dirmode == DIRECTORY_MODE_PRIMARY && z_root() != get_directory_primary())
- $dirmode = DIRECTORY_MODE_SECONDARY;
-
if($dirmode == DIRECTORY_MODE_PRIMARY)
$ret['site']['directory_mode'] = 'primary';
elseif($dirmode == DIRECTORY_MODE_SECONDARY)