mirror of
https://github.com/friendica/friendica
synced 2025-04-27 12:30:11 +00:00
Apply suggestions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
bdafe063d8
commit
154f91c6c1
2 changed files with 4 additions and 4 deletions
|
@ -175,15 +175,15 @@ class Status extends BaseFactory
|
|||
'origin' => true,
|
||||
'gravity' => Item::GRAVITY_ACTIVITY,
|
||||
'vid' => Verb::getID(Activity::LIKE),
|
||||
'deleted' => false
|
||||
'deleted' => false
|
||||
]);
|
||||
$origin_dislike = ($count_like == 0) ? false : Post::exists([
|
||||
$origin_dislike = ($count_dislike == 0) ? false : Post::exists([
|
||||
'thr-parent-id' => $uriId,
|
||||
'uid' => $uid,
|
||||
'origin' => true,
|
||||
'gravity' => Item::GRAVITY_ACTIVITY,
|
||||
'vid' => Verb::getID(Activity::DISLIKE),
|
||||
'deleted' => false
|
||||
'deleted' => false
|
||||
]);
|
||||
$origin_announce = ($count_announce == 0) ? false : Post::exists([
|
||||
'thr-parent-id' => $uriId,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue