From 4c7bde1400820f36caf8b2a5374007384c3018f3 Mon Sep 17 00:00:00 2001 From: winter Date: Mon, 9 Dec 2024 21:31:54 +0000 Subject: rename to Digitigrade / PawPub :3 --- WpfTest/Model/NotePrivacy.php | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 WpfTest/Model/NotePrivacy.php (limited to 'WpfTest/Model/NotePrivacy.php') diff --git a/WpfTest/Model/NotePrivacy.php b/WpfTest/Model/NotePrivacy.php deleted file mode 100644 index b955447..0000000 --- a/WpfTest/Model/NotePrivacy.php +++ /dev/null @@ -1,39 +0,0 @@ -noteId = $id; - } - - protected function getUpdateWhereClause($db): ?string { - if (self::findWhere('note_id = ?', [$this->noteId]) != null) { - return "note_id = $this->noteId"; - } - return null; - } - - public function jsonSerialize(): array { - return [ - 'scope' => $this->scope->value, - 'alsoVisibleTo' => $this->alsoVisibleTo, - 'indexable' => $this->indexable, - 'canReshare' => $this->canReshare->value, - 'canReply' => $this->canReply->value, - 'canOtherInteract' => $this->canOtherInteract->value - ]; - } -} \ No newline at end of file -- cgit v1.3