diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/moodle/legacy/MoodleCourseAccess.java b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/moodle/legacy/MoodleCourseAccess.java index 2af72e30..91632190 100644 --- a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/moodle/legacy/MoodleCourseAccess.java +++ b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/moodle/legacy/MoodleCourseAccess.java @@ -354,17 +354,6 @@ public class MoodleCourseAccess implements CourseAccessAPI { return reduceCoursesToQuizzes(urlPrefix, courseQuizData); } - private List getCached() { - final Collection courseQuizData = - this.moodleCourseDataAsyncLoader.getCachedCourseData().values(); - final LmsSetup lmsSetup = getApiTemplateDataSupplier().getLmsSetup(); - final String urlPrefix = (lmsSetup.lmsApiUrl.endsWith(Constants.URL_PATH_SEPARATOR)) - ? lmsSetup.lmsApiUrl + MOODLE_QUIZ_START_URL_PATH - : lmsSetup.lmsApiUrl + Constants.URL_PATH_SEPARATOR + MOODLE_QUIZ_START_URL_PATH; - - return reduceCoursesToQuizzes(urlPrefix, courseQuizData); - } - private ArrayList reduceCoursesToQuizzes( final String urlPrefix, final Collection courseQuizData) {