<?php
/**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
*
* @license GNU AGPL version 3 or any later version
*
$this->id = (string)$account['pid'];
$this->username = $account['nick'];
$this->acct =
- strpos($account['url'], $baseUrl->get() . '/') === 0 ?
+ strpos($account['url'], $baseUrl . '/') === 0 ?
$account['nick'] :
$account['addr'];
$this->display_name = $account['name'];