[POSTING] Fix missing use statement

This commit is contained in:
Hugo Sales 2020-10-10 18:14:03 +00:00 committed by Hugo Sales
parent 61ebeca706
commit 74350becc5
No known key found for this signature in database
GPG Key ID: 7D0C7EAFC9D835A0

View File

@ -67,7 +67,7 @@ class Posting extends Module
if ($form->isSubmitted()) { if ($form->isSubmitted()) {
$data = $form->getData(); $data = $form->getData();
if ($form->isValid()) { if ($form->isValid()) {
C\Post::storeNote($actor_id, $data['content'], $data['attachments'], $is_local = true); self::storeNote($actor_id, $data['content'], $data['attachments'], $is_local = true);
throw new RedirectException(); throw new RedirectException();
} else { } else {
throw new InvalidFormException(); throw new InvalidFormException();