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. --- include/socgraph.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'include/socgraph.php') diff --git a/include/socgraph.php b/include/socgraph.php index 65e23f9df..e12da5862 100644 --- a/include/socgraph.php +++ b/include/socgraph.php @@ -370,13 +370,7 @@ function update_suggestions() { } else { $directory = find_upstream_directory($dirmode); - - if($directory) { - $url = $directory['url'] . '/sitelist'; - } - else { - $url = DIRECTORY_FALLBACK_MASTER . '/sitelist'; - } + $url = $directory['url'] . '/sitelist'; } if(! $url) return; -- cgit v1.2.3