aboutsummaryrefslogtreecommitdiffhomepage
path: root/WpfTest/Model/NoteAttachment.php
diff options
context:
space:
mode:
Diffstat (limited to 'WpfTest/Model/NoteAttachment.php')
-rw-r--r--WpfTest/Model/NoteAttachment.php23
1 files changed, 0 insertions, 23 deletions
diff --git a/WpfTest/Model/NoteAttachment.php b/WpfTest/Model/NoteAttachment.php
deleted file mode 100644
index 16947c5..0000000
--- a/WpfTest/Model/NoteAttachment.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-namespace WpfTest\Model;
-
-use WpfTest\Model;
-
-class NoteAttachment extends Model {
- public ?int $noteId;
- public int $index;
- public string $type;
- public string $href;
- public ?string $description;
-
- protected function setOwnerId(int $id) {
- $this->noteId = $id;
- }
-
- protected function getUpdateWhereClause($db): ?string {
- if (self::findWhere('note_id = ?', [$this->noteId]) != null) {
- return "note_id = $this->noteId";
- }
- return null;
- }
-} \ No newline at end of file