Revert "temporary logs to check if anonymous user is accessing courseware"

This commit is contained in:
Noraiz Anwar
2018-01-03 14:51:30 +05:00
committed by GitHub
parent 40be878ac3
commit 31fb4a1b19

View File

@@ -148,11 +148,6 @@ def score_published_handler(sender, block, user, raw_earned, raw_possible, only_
if update_score:
# Set the problem score in CSM.
# adding temporary log for understanding EDUCATOR-1931
if user.is_anonymous():
log.info("Problem [%s] was accessed by anonymous user", block.location)
score_modified_time = set_score(user.id, block.location, raw_earned, raw_possible)
# Set the problem score on the xblock.