mirror of
https://github.com/friendica/friendica
synced 2025-04-24 06:30:13 +00:00
Store personal copy of public item upon commenting
This commit is contained in:
parent
f6428cf2bc
commit
d0ef6f2b08
2 changed files with 11 additions and 1 deletions
|
@ -2174,7 +2174,7 @@ class Item
|
|||
* @return integer stored item id
|
||||
* @throws \Exception
|
||||
*/
|
||||
private static function storeForUser(array $item, int $uid)
|
||||
public static function storeForUser(array $item, int $uid)
|
||||
{
|
||||
if (self::exists(['uri-id' => $item['uri-id'], 'uid' => $uid])) {
|
||||
Logger::info('Item already exists', ['uri-id' => $item['uri-id'], 'uid' => $uid]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue