Remove A/B test from Python20 course setup

This commit is contained in:
Sebastian Serth
2020-12-03 16:23:22 +01:00
parent 8d7bb29483
commit 110b009480
4 changed files with 0 additions and 87 deletions

View File

@ -298,11 +298,6 @@ class ExercisesController < ApplicationController
else
current_user.id
end
# Tips are collected and set with set_available_tips.
# Delete tips for those users who should not see them.
# Doing this here is beneficial because all other (admin) routes still work.
@tips = nil unless Python20CourseWeek.show_tips? @exercise, current_user.id
end
def set_course_token