From 3e8e67df2c838ee5fe0129bd77a0c987b151a8f3 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 25 Apr 2014 18:10:23 -0700 Subject: Set a default directory server from a hard-wired list if one was not previously chosen. --- mod/acl.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'mod/acl.php') diff --git a/mod/acl.php b/mod/acl.php index 9bd1a9eb4..fa399a9b5 100644 --- a/mod/acl.php +++ b/mod/acl.php @@ -304,13 +304,7 @@ function navbar_complete(&$a) { if(! $url) { require_once("include/dir_fns.php"); $directory = find_upstream_directory($dirmode); - - if($directory) { - $url = $directory['url'] . '/dirsearch'; - } - else { - $url = DIRECTORY_FALLBACK_MASTER . '/dirsearch'; - } + $url = $directory['url'] . '/dirsearch'; } if($url) { -- cgit v1.2.3