mirror of
https://github.com/friendica/friendica
synced 2025-05-10 17:04:09 +02:00
Fix codestyle
This commit is contained in:
parent
fb9a20feaa
commit
1ced848827
3 changed files with 50 additions and 51 deletions
|
@ -86,8 +86,7 @@ class Account extends BaseDataTransferObject
|
||||||
{
|
{
|
||||||
$this->id = (string)$account['pid'];
|
$this->id = (string)$account['pid'];
|
||||||
$this->username = $account['nick'];
|
$this->username = $account['nick'];
|
||||||
$this->acct =
|
$this->acct = strpos($account['url'], $baseUrl . '/') === 0 ?
|
||||||
strpos($account['url'], $baseUrl . '/') === 0 ?
|
|
||||||
$account['nick'] :
|
$account['nick'] :
|
||||||
$account['addr'];
|
$account['addr'];
|
||||||
$this->display_name = $account['name'];
|
$this->display_name = $account['name'];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue