Merge pull request #8055 from nupplaphil/task/remove_get_server

Remove get_server() in favor of Search::getGlobalDirectory()
This commit is contained in:
Hypolite Petovan 2020-01-04 20:10:50 -05:00 committed by GitHub
commit 393a671501
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 25 additions and 23 deletions

View file

@ -446,17 +446,6 @@ function curPageURL()
return $pageURL;
}
function get_server()
{
$server = Config::get("system", "directory");
if ($server == "") {
$server = "https://dir.friendica.social";
}
return $server;
}
function get_temppath()
{
$temppath = Config::get("system", "temppath");