From d24ee256150b368dd19328a168aa46223e9d771f Mon Sep 17 00:00:00 2001 From: David Ormsbee Date: Mon, 13 Aug 2012 00:57:33 -0400 Subject: [PATCH] Remove debug checking for UserProfile --- common/djangoapps/student/models.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/common/djangoapps/student/models.py b/common/djangoapps/student/models.py index 4c47e6c67e..257d3cb0f5 100644 --- a/common/djangoapps/student/models.py +++ b/common/djangoapps/student/models.py @@ -334,9 +334,6 @@ def replicate_model(model_method, instance, user_id): model_method is the model action that we want replicated. For instance, UserProfile.save """ - if isinstance(instance, UserProfile): - log.debug("replicate_model called on UserProfile {0}".format(instance)) - if not should_replicate(instance): return