[CONFIG][TWIG] Move twig config to php code to add support for placing templates in modules (plugins and components)
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user