clone sync missing for some item delete operations
This commit is contained in:
parent
0a21ffbfec
commit
9e27559bdb
@ -1108,6 +1108,14 @@ class Item extends \Zotlabs\Web\Controller {
|
||||
else {
|
||||
// complex deletion that needs to propagate and be performed in phases
|
||||
drop_item($i[0]['id'],true,DROPITEM_PHASE1);
|
||||
$r = q("select * from item where id = %d",
|
||||
intval($i[0]['id'])
|
||||
);
|
||||
if($r) {
|
||||
xchan_query($r);
|
||||
$sync_item = fetch_post_tags($r);
|
||||
build_sync_packet($i[0]['uid'],array('item' => array(encode_item($sync_item[0],true))));
|
||||
}
|
||||
tag_deliver($i[0]['uid'],$i[0]['id']);
|
||||
}
|
||||
}
|
||||
|
@ -46,7 +46,7 @@ function wiki_page_list($resource_id) {
|
||||
$i = 1;
|
||||
foreach($files as $file) {
|
||||
// strip the file extension and unwrap URL encoding to leave HTML encoded name
|
||||
$title = substr($file, 0, -3);
|
||||
$title = substr($file, 0, strrpos($file,'.'));
|
||||
if(urldecode($title) !== 'Home') {
|
||||
$pages[] = [
|
||||
'resource_id' => $resource_id,
|
||||
|
Reference in New Issue
Block a user