diff options
| author | David T. Sadler <davidtsadler@googlemail.com> | 2021-11-01 20:32:55 +0000 |
|---|---|---|
| committer | David T. Sadler <davidtsadler@googlemail.com> | 2021-11-01 20:32:55 +0000 |
| commit | e9eb52348e22d6e94d741446501a598e50cfe7ed (patch) | |
| tree | 8ecf683cd4faa999c68be70a24fa1b810d51e12a | |
| parent | 359a1edd425f1ad0c93e8390212b478d641029ba (diff) | |
Remove unread
| -rw-r--r-- | public/store/index.php | 1 | ||||
| -rw-r--r-- | src/DTS/Bookmark.php | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/public/store/index.php b/public/store/index.php index 8bd0b7f..804702a 100644 --- a/public/store/index.php +++ b/public/store/index.php @@ -44,7 +44,6 @@ $bookmark->url = $validated->url; $bookmark->title = $validated->title; $bookmark->tag = $validated->tag; $bookmark->addedAt = date('Y-m-d H:i:s'); -$bookmark->unread = true; if (!$bookmarks->add($bookmark)) { respondAndExit(500, 'Internal Server Error'); diff --git a/src/DTS/Bookmark.php b/src/DTS/Bookmark.php index da9afa9..479b575 100644 --- a/src/DTS/Bookmark.php +++ b/src/DTS/Bookmark.php @@ -15,6 +15,4 @@ class Bookmark public string $tag = ''; public string $addedAt; - - public bool $unread; } |
