summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Db/Item.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/Db/Item.php b/lib/Db/Item.php
index 411428e96..7bb9147b5 100644
--- a/lib/Db/Item.php
+++ b/lib/Db/Item.php
@@ -311,11 +311,6 @@ class Item extends Entity implements IAPI, \JsonSerializable
return $this->starred;
}
- public function isShared(): bool
- {
- return !is_null($this->getSharedBy());
- }
-
public function isUnread(): bool
{
return $this->unread;
@@ -369,8 +364,7 @@ class Item extends Entity implements IAPI, \JsonSerializable
'intro' => $this->getIntro(),
'fingerprint' => $this->getFingerprint(),
'categories' => $this->getCategories(),
- 'sharedBy' => $this->getSharedBy(),
- 'isShared' => $this->isShared()
+ 'sharedBy' => $this->getSharedBy()
];
}