1
0
forked from PGL/Clyde

removed an unused variable

This commit is contained in:
Bartha Maxime 2024-03-17 16:25:00 +01:00
parent ea46dd664c
commit 37f8a3ac4e

View File

@ -54,8 +54,6 @@ public class ApplicationsController {
// if authed // if authed
authorizedApps.add(Applications.Profile); authorizedApps.add(Applications.Profile);
Role posterRole = user.getRole();
if (!authServ.isNotIn(new Role[]{Role.Teacher,Role.Student,Role.Admin},token)) { if (!authServ.isNotIn(new Role[]{Role.Teacher,Role.Student,Role.Admin},token)) {
authorizedApps.add(Applications.Msg); authorizedApps.add(Applications.Msg);
authorizedApps.add(Applications.Forum); authorizedApps.add(Applications.Forum);