Use "store" when possible

This commit is contained in:
Michael 2020-04-17 07:55:23 +00:00
parent db657b0149
commit 6afcf5c8c7
2 changed files with 2 additions and 2 deletions

View file

@ -531,7 +531,7 @@ class Feed {
if (!empty($id) && !empty($taglist)) {
$feeditem = Item::selectFirst(['uri-id'], ['id' => $id]);
foreach ($taglist as $tag) {
Tag::storeByHash($feeditem['uri-id'], '#', $tag);
Tag::store($feeditem['uri-id'], Tag::HASHTAG, $tag);
}
}
}