mirror of
https://github.com/friendica/friendica
synced 2024-12-23 12:00:16 +00:00
Added documentation
This commit is contained in:
parent
27ea747e99
commit
e19b1800a4
1 changed files with 7 additions and 2 deletions
|
@ -421,10 +421,15 @@ class Processor
|
|||
return $item;
|
||||
}
|
||||
|
||||
private static function storeFromBody($item)
|
||||
/**
|
||||
* Store hashtags and mentions
|
||||
*
|
||||
* @param array $item
|
||||
*/
|
||||
private static function storeFromBody(array $item)
|
||||
{
|
||||
// Make sure to delete all existing tags (can happen when called via the update functionality)
|
||||
DBA::delete('post-tag', ['uri-id' => $uriid]);
|
||||
DBA::delete('post-tag', ['uri-id' => $item['uri-id']]);
|
||||
|
||||
Tag::storeFromBody($item['uri-id'], $item['body'], '@!');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue