From 16eb8fd9bf705ad5d4d9f739b9264d7c8d15dace Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Mon, 7 Mar 2016 15:20:48 +0100 Subject: [PATCH] Small things ... --- include/diaspora2.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/diaspora2.php b/include/diaspora2.php index 48093cc5b9..4c9d79912e 100644 --- a/include/diaspora2.php +++ b/include/diaspora2.php @@ -1525,7 +1525,7 @@ EOT; // Formerly we stored the signed text, the signature and the author in different fields. // We now store the raw data so that we are more flexible. - q("INSERT INTO `sign` (`iid`,`signed_text`) VALUES (%d,'%s')", + q("INSERT INTO `sign` (`retract_iid`,`signed_text`) VALUES (%d,'%s')", intval($r[0]["id"]), dbesc(json_encode($data)) ); @@ -1552,7 +1552,7 @@ EOT; case "StatusMessage": return self::item_retraction($importer, $contact, $data);; - case "Person": + case "Person": /// @todo an "unshare" shouldn't remove the contact contact_remove($contact["id"]); return true;