aboutsummaryrefslogtreecommitdiffhomepage
path: root/WpfTest/Model/ActorEndpoints.php
diff options
context:
space:
mode:
Diffstat (limited to 'WpfTest/Model/ActorEndpoints.php')
-rw-r--r--WpfTest/Model/ActorEndpoints.php27
1 files changed, 0 insertions, 27 deletions
diff --git a/WpfTest/Model/ActorEndpoints.php b/WpfTest/Model/ActorEndpoints.php
deleted file mode 100644
index f6120d3..0000000
--- a/WpfTest/Model/ActorEndpoints.php
+++ /dev/null
@@ -1,27 +0,0 @@
-<?php
-namespace WpfTest\Model;
-
-use WpfTest\Model;
-
-class ActorEndpoints extends Model {
- public ?int $actorId;
- public string $basicFeed;
- public ?string $fullFeed;
- public ?string $follow;
- public ?string $unfollow;
- public ?string $block;
- public ?string $unblock;
- public ?string $subscribe;
- public ?string $unsubscribe;
-
- protected function setOwnerId(int $id) {
- $this->actorId = $id;
- }
-
- protected function getUpdateWhereClause($db): ?string {
- if (self::findWhere('actor_id = ?', [$this->actorId]) != null) {
- return "actor_id = $this->actorId";
- }
- return null;
- }
-} \ No newline at end of file