removed an unused variable
This commit is contained in:
1 parent
ea46dd664c
commit
37f8a3ac4e
1 file changed
-2
@@ -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);
|
||||||
|
|||||||
Reference in new issue
Block a user