]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Profile.php
Move GET starred/{id} to POST item/{id}/star
[friendica.git] / src / Model / Profile.php
index c5652c6f7a2e992f6561acefe799c9bab3f2253c..676cd0b40ca29790d34f6df76c8017b1b2dcf736 100644 (file)
@@ -592,7 +592,7 @@ class Profile
                                $condition = ['parent-uri' => $rr['uri'], 'uid' => $rr['uid'], 'author-id' => public_contact(),
                                        'vid' => [Verb::getID(Activity::ATTEND), Verb::getID(Activity::ATTENDMAYBE)],
                                        'visible' => true, 'deleted' => false];
-                               if (!Item::exists($condition)) {
+                               if (!Post::exists($condition)) {
                                        continue;
                                }