get rid of edit activities
This commit is contained in:
parent
f840082aae
commit
2c2ee706ac
@ -860,7 +860,17 @@ class Item extends \Zotlabs\Web\Controller {
|
|||||||
|
|
||||||
$x = item_store_update($datarray,$execflag);
|
$x = item_store_update($datarray,$execflag);
|
||||||
|
|
||||||
item_create_edit_activity($x);
|
// We only need edit activities for other federated protocols
|
||||||
|
// which do not support edits natively. While this does federate
|
||||||
|
// edits, it presents a number of issues locally - such as #757 and #758.
|
||||||
|
// The SQL check for an edit activity would not perform that well so to fix these issues
|
||||||
|
// requires an additional item flag (perhaps 'item_edit_activity') that we can add to the
|
||||||
|
// query for searches and notifications.
|
||||||
|
|
||||||
|
// For now we'll just forget about trying to make edits work on network protocols that
|
||||||
|
// don't support them.
|
||||||
|
|
||||||
|
// item_create_edit_activity($x);
|
||||||
|
|
||||||
if(! $parent) {
|
if(! $parent) {
|
||||||
$r = q("select * from item where id = %d",
|
$r = q("select * from item where id = %d",
|
||||||
|
Reference in New Issue
Block a user