Skip to content
This repository was archived by the owner on Jan 10, 2024. It is now read-only.

Commit

Permalink
allowing exams without results (#751)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacqueline8711 authored and kordianbruck committed Apr 5, 2018
1 parent 55b6a0d commit ed9c115
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,7 @@ public Optional<T> fetch() {
if (!TUMOnlineConst.Companion.getREQUEST_TOKEN().equals(method)){
//If there were some requests that failed and we verified that the token is not active anymore, block all requests directly
if (!method.equals(TUMOnlineConst.Companion.getTOKEN_CONFIRMED())
&& Utils.getSettingBool(mContext, Const.TUMO_DISABLED, false)
/*&& !Utils.getSettingBool(mContext, Const.IN_WIZARD, false)*/) {
&& Utils.getSettingBool(mContext, Const.TUMO_DISABLED, false)) {
Utils.log("aborting fetch URL, as the token is not active any longer " + url);
return Optional.absent();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ data class Exam(@field:Element(name = "lv_titel")
var date: Date = Date(),
@field:Element(name = "pruefer_nachname", required = false)
var examiner: String = "",
@field:Element(name = "uninotenamekurz")
@field:Element(name = "uninotenamekurz", required = false)
var grade: String = "",
@field:Element(name = "modus", required = false)
var modus: String = "",
Expand Down

0 comments on commit ed9c115

Please sign in to comment.