From d29890613ebafb39dfd175c041f48da8416adc4f Mon Sep 17 00:00:00 2001
From: Michael <heluecht@pirati.ca>
Date: Tue, 6 Feb 2018 16:24:35 +0000
Subject: [PATCH] Simpler form

---
 pumpio/pumpio.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pumpio/pumpio.php b/pumpio/pumpio.php
index 82d54a94..8e194f85 100644
--- a/pumpio/pumpio.php
+++ b/pumpio/pumpio.php
@@ -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']);
-- 
2.39.5