Small things ...
This commit is contained in:
parent
373beb0343
commit
16eb8fd9bf
1 changed files with 2 additions and 2 deletions
|
@ -1525,7 +1525,7 @@ EOT;
|
||||||
|
|
||||||
// Formerly we stored the signed text, the signature and the author in different fields.
|
// 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.
|
// 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"]),
|
intval($r[0]["id"]),
|
||||||
dbesc(json_encode($data))
|
dbesc(json_encode($data))
|
||||||
);
|
);
|
||||||
|
@ -1552,7 +1552,7 @@ EOT;
|
||||||
case "StatusMessage":
|
case "StatusMessage":
|
||||||
return self::item_retraction($importer, $contact, $data);;
|
return self::item_retraction($importer, $contact, $data);;
|
||||||
|
|
||||||
case "Person":
|
case "Person": /// @todo an "unshare" shouldn't remove the contact
|
||||||
contact_remove($contact["id"]);
|
contact_remove($contact["id"]);
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue