summaryrefslogtreecommitdiffstats
path: root/lib/Db/Item.php
diff options
context:
space:
mode:
authorBenjamin Brahmer <info@b-brahmer.de>2020-10-29 08:34:08 +0100
committerGitHub <noreply@github.com>2020-10-29 08:34:08 +0100
commit48fa9327635124154d7497e7b52b3d68399f17b3 (patch)
tree03e575779248c7a2b2e75641f7225ceb6bdbfc76 /lib/Db/Item.php
parentc5daf112bed9d958f70073fd1cb199beff322334 (diff)
parentcfc75fb1d38318245abfc341939ef80cab0b0683 (diff)
Merge pull request #902 from SMillerDev/fix/dont_overload_getid
DB: stop overloading getID
Diffstat (limited to 'lib/Db/Item.php')
-rw-r--r--lib/Db/Item.php15
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/Db/Item.php b/lib/Db/Item.php
index 555bcbb61..1dab1b96c 100644
--- a/lib/Db/Item.php
+++ b/lib/Db/Item.php
@@ -222,11 +222,6 @@ class Item extends Entity implements IAPI, \JsonSerializable
return $this->guidHash;
}
- public function getId(): string
- {
- return $this->id;
- }
-
public function getIntro(): string
{
return strip_tags($this->getBody());
@@ -440,16 +435,6 @@ class Item extends Entity implements IAPI, \JsonSerializable
return $this;
}
- public function setId(int $id): self
- {
- if ($this->id !== $id) {
- $this->id = $id;
- $this->markFieldUpdated('id');
- }
-
- return $this;
- }
-
public function setLastModified(string $lastModified = null): self
{
if ($this->lastModified !== $lastModified) {