[CORE][Actor] Simplify logic so more is reused between different types of actors
Minor bug fixes
This commit is contained in:
@@ -293,7 +293,6 @@ class Note extends Entity
|
||||
|
||||
public static function getAllNotesByActor(Actor $actor): array
|
||||
{
|
||||
// TODO: Enforce scoping on the notes before returning
|
||||
return DB::findBy('note', ['actor_id' => $actor->getId()], order_by: ['created' => 'DESC', 'id' => 'DESC']);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user