summaryrefslogtreecommitdiffstats
path: root/lib/Db/Item.php
diff options
context:
space:
mode:
authorSean Molenaar <sean@seanmolenaar.eu>2020-10-28 21:33:17 +0100
committerSean Molenaar <sean@seanmolenaar.eu>2020-10-28 23:08:53 +0100
commitec6930da8226b9879eb2d7289af739aa96de43ef (patch)
treed300e14d3cbe24ad332f58c90965e1540f2941b8 /lib/Db/Item.php
parent47104a1971f1c254ade89d9c084e73a446cc8c20 (diff)
DB: stop overloading getID
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
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) {