mirror of
https://github.com/friendica/friendica
synced 2025-04-22 19:10:12 +00:00
Remove superfluous code
- Remove explicit default parameter value in BBCode::convertShareCallback - Remove Probe::$baseurl reset since the twitter probe sets the `baseurl` property - Remove baseurl guessing in Probe::detect
This commit is contained in:
parent
1de5f2eebb
commit
eaa7740da6
2 changed files with 1 additions and 10 deletions
|
@ -1076,7 +1076,7 @@ class BBCode
|
|||
default:
|
||||
$text = ($is_quote_share? "\n" : '');
|
||||
|
||||
$authorId = Contact::getIdForURL($attributes['profile'], 0);
|
||||
$authorId = Contact::getIdForURL($attributes['profile']);
|
||||
|
||||
$contact = Contact::getById($authorId, ['network']);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue