[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
Signed by: someonewithpc
GPG Key ID: 7D0C7EAFC9D835A0
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ class Posting extends Module
if ($form->isSubmitted()) {
$data = $form->getData();
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();
} else {
throw new InvalidFormException();