mirror of
https://github.com/friendica/friendica
synced 2025-04-24 04:30:11 +00:00
Use "getActorName"
This commit is contained in:
parent
6d9302fbe4
commit
b12a2c486e
3 changed files with 11 additions and 14 deletions
|
@ -78,7 +78,7 @@ class Xrd extends BaseModule
|
|||
$name = substr($local, 0, strpos($local, '@'));
|
||||
}
|
||||
|
||||
if ($name == DI::config()->get('system', 'actor_name')) {
|
||||
if ($name == User::getActorName()) {
|
||||
$owner = User::getSystemAccount();
|
||||
if (empty($owner)) {
|
||||
throw new \Friendica\Network\HTTPException\NotFoundException();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue