removed an unused variable
This commit is contained in:
parent
ea46dd664c
commit
37f8a3ac4e
@ -54,8 +54,6 @@ public class ApplicationsController {
|
||||
// if authed
|
||||
authorizedApps.add(Applications.Profile);
|
||||
|
||||
Role posterRole = user.getRole();
|
||||
|
||||
if (!authServ.isNotIn(new Role[]{Role.Teacher,Role.Student,Role.Admin},token)) {
|
||||
authorizedApps.add(Applications.Msg);
|
||||
authorizedApps.add(Applications.Forum);
|
||||
|
Loading…
Reference in New Issue
Block a user