Added documentation
This commit is contained in:
parent
27ea747e99
commit
e19b1800a4
|
@ -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