[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()) {
|
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();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user