App::get_baseurl is now replaced with System::baseUrl
This commit is contained in:
@@ -23,7 +23,7 @@ function auto_redir(App $a, $contact_nick) {
|
||||
//
|
||||
// We also have to make sure that I'm a legitimate contact--I'm not blocked or pending.
|
||||
|
||||
$baseurl = App::get_baseurl();
|
||||
$baseurl = System::baseUrl();
|
||||
$domain_st = strpos($baseurl, "://");
|
||||
if ($domain_st === false)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user