forked from GNUsocial/gnu-social
[POSTING] Fix missing use statement
This commit is contained in:
parent
61ebeca706
commit
74350becc5
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user