mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 02:45:16 +02:00
Fix documentation in include/dba
This commit is contained in:
parent
da60893590
commit
c7a7658316
4 changed files with 17 additions and 17 deletions
|
@ -29,8 +29,9 @@ function xrd_init(App $a)
|
|||
$name = ltrim(basename($uri), '~');
|
||||
} else {
|
||||
$local = str_replace('acct:', '', $uri);
|
||||
if (substr($local, 0, 2) == '//')
|
||||
if (substr($local, 0, 2) == '//') {
|
||||
$local = substr($local, 2);
|
||||
}
|
||||
|
||||
$name = substr($local, 0, strpos($local, '@'));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue