Merge pull request #17073 from edx/revert-16858-noraiz/EDUCATOR-1931

Revert "temporary logs to check if anonymous user is accessing courseware"
This commit is contained in:
Noraiz Anwar
2018-01-03 18:36:37 +05:00
committed by GitHub

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.