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
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");