Browse Source

Grammar fix

pull/5135/head
Michael 3 years ago
parent
commit
a50805c371
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Model/Item.php

+ 1
- 1
src/Model/Item.php 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);


Loading…
Cancel
Save