diff options
author | friendica <info@friendica.com> | 2014-04-25 18:10:23 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-04-25 18:10:23 -0700 |
commit | 3e8e67df2c838ee5fe0129bd77a0c987b151a8f3 (patch) | |
tree | 711b02a71b00b79210ce633179c0cc5e8398259d /include/socgraph.php | |
parent | d6620522c274d67f12adebefea0d2ea50d08bf34 (diff) | |
download | volse-hubzilla-3e8e67df2c838ee5fe0129bd77a0c987b151a8f3.tar.gz volse-hubzilla-3e8e67df2c838ee5fe0129bd77a0c987b151a8f3.tar.bz2 volse-hubzilla-3e8e67df2c838ee5fe0129bd77a0c987b151a8f3.zip |
Set a default directory server from a hard-wired list if one was not previously chosen.
Diffstat (limited to 'include/socgraph.php')
-rw-r--r-- | include/socgraph.php | 8 |
1 files changed, 1 insertions, 7 deletions
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; |