Skip to content
Snippets Groups Projects
Commit 636332b3 authored by Paul-Christian Volkmer's avatar Paul-Christian Volkmer
Browse files

Removed obsolete authorization check

parent 5085f0e2
No related merge requests found
......@@ -183,10 +183,6 @@ public class QuestionService implements IQuestionService {
if (question == null) {
throw new NotFoundException();
}
final Session session = databaseDao.getSessionFromKeyword(question.getSessionId());
if (session == null) {
throw new UnauthorizedException();
}
databaseDao.deleteInterposedQuestion(question);
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment