some more innodb mysql scheme adjustments

This commit is contained in:
Mario Vavti
2017-06-10 10:00:37 +02:00
parent 3389df77cc
commit fbb83d831b
3 changed files with 10 additions and 20 deletions

View File

@@ -4361,10 +4361,7 @@ function sync_an_item($channel_id,$item_id) {
if($r) {
xchan_query($r);
$sync_item = fetch_post_tags($r);
$rid = q("select * from item_id where iid = %d",
intval($item_id)
);
build_sync_packet($channel_d,array('item' => array(encode_item($sync_item[0],true)),'item_id' => $rid));
build_sync_packet($channel_d,array('item' => array(encode_item($sync_item[0],true))));
}
}