Remove get_server() in favor of Search::getGlobalDirectory()

This commit is contained in:
nupplaPhil
2020-01-04 23:59:20 +01:00
parent 5d20cd7e16
commit 48baa0be4b
10 changed files with 25 additions and 23 deletions
-11
View File
@@ -469,17 +469,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");