Merge pull request #8055 from nupplaphil/task/remove_get_server
Remove get_server() in favor of Search::getGlobalDirectory()
This commit is contained in:
11
boot.php
11
boot.php
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user