[CONFIG][TWIG] Move twig config to php code to add support for placing templates in modules (plugins and components)

This commit is contained in:
2021-04-15 11:42:45 +00:00
parent a220d07b0f
commit 566c7694b5
3 changed files with 8 additions and 5 deletions

View File

@@ -62,7 +62,7 @@ abstract class Module
if (!$note->isVisibleTo($user)) {
// ^ Ensure user isn't trying to trip us up
Log::error('Suspicious activity: user ' . $user->getNickname() .
' tried to repeat note ' . $note->getId() .
' tried to interact with note ' . $note->getId() .
', but they shouldn\'t have access to it');
throw new NoSuchNoteException();
} else {