Merge remote-tracking branch 'upstream/develop' into 1706-ostatus-attach

This commit is contained in:
Michael 2017-07-15 10:36:56 +00:00
commit f65d6531ca
6 changed files with 7 additions and 7 deletions

View file

@ -1572,7 +1572,7 @@ function db_definition() {
),
"indexes" => array(
"PRIMARY" => array("id"),
"iid" => array("iid"),
"iid" => array("UNIQUE", "iid"),
)
);
$database["spam"] = array(

View file

@ -3729,7 +3729,7 @@ class Diaspora {
* This will break Diaspora compatibility with Friendica versions prior to 3.5.
*/
q("INSERT INTO `sign` (`iid`,`signed_text`) VALUES (%d,'%s')",
intval($message_id),
intval($post_id),
dbesc(json_encode($message))
);