1
1
Fork 0

Grammar fix

This commit is contained in:
Michael 2018-05-26 20:07:30 +00:00
parent 4c36109f02
commit a50805c371

View file

@ -203,7 +203,7 @@ class Item extends BaseObject
Worker::add(['priority' => $priority, 'dont_fork' => true], "Notifier", "drop", intval($item['id']));
} elseif ($item['uid'] != 0) {
// When we delete just our local user copy of an item, we have to set an marker to hide it
// When we delete just our local user copy of an item, we have to set a marker to hide it
$global_item = dba::selectFirst('item', ['id'], ['uri' => $item['uri'], 'uid' => 0, 'deleted' => false]);
if (DBM::is_result($global_item)) {
dba::update('user-item', ['hidden' => true], ['iid' => $global_item['id'], 'uid' => $item['uid']], true);