Grammar fix
This commit is contained in:
parent
4c36109f02
commit
a50805c371
1 changed files with 1 additions and 1 deletions
|
@ -203,7 +203,7 @@ class Item extends BaseObject
|
||||||
Worker::add(['priority' => $priority, 'dont_fork' => true], "Notifier", "drop", intval($item['id']));
|
Worker::add(['priority' => $priority, 'dont_fork' => true], "Notifier", "drop", intval($item['id']));
|
||||||
} elseif ($item['uid'] != 0) {
|
} 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]);
|
$global_item = dba::selectFirst('item', ['id'], ['uri' => $item['uri'], 'uid' => 0, 'deleted' => false]);
|
||||||
if (DBM::is_result($global_item)) {
|
if (DBM::is_result($global_item)) {
|
||||||
dba::update('user-item', ['hidden' => true], ['iid' => $global_item['id'], 'uid' => $item['uid']], true);
|
dba::update('user-item', ['hidden' => true], ['iid' => $global_item['id'], 'uid' => $item['uid']], true);
|
||||||
|
|
Loading…
Reference in a new issue