mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-17 11:43:43 +00:00
Simpler form
This commit is contained in:
parent
8b049a96bd
commit
d29890613e
1 changed files with 1 additions and 1 deletions
|
@ -867,7 +867,7 @@ function pumpio_dounlike(&$a, $uid, $self, $post, $own_id) {
|
|||
$contactid = $orig_post['contact-id'];
|
||||
}
|
||||
|
||||
Item::delete(["`verb` = ? AND `uid` = ? AND `contact-id` = ? AND `thr-parent` = ?", ACTIVITY_LIKE, $uid, $contactid, $orig_post['uri']]);
|
||||
Item::delete(['verb' => ACTIVITY_LIKE, 'uid' => $uid, 'contact-id' => $contactid, 'thr-parent' => $orig_post['uri']]);
|
||||
|
||||
if(count($r))
|
||||
logger("pumpio_dounlike: unliked existing like. User ".$own_id." ".$uid." Contact: ".$contactid." Url ".$orig_post['uri']);
|
||||
|
|
Loading…
Reference in a new issue