From: Stephen Finucane Date: Thu, 20 Oct 2016 07:28:55 +0000 (+0100) Subject: models: Remove UserProfile.sync_person X-Git-Tag: v2.0.0-rc1~185 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d497c2b234756a8846d86cbf704cec4bd91bf915;p=thirdparty%2Fpatchwork.git models: Remove UserProfile.sync_person This doesn't seem to do anything, and hasn't for a very long time (pre-0.9.0, at least). Signed-off-by: Stephen Finucane Reviewed-by: Daniel Axtens --- diff --git a/patchwork/models.py b/patchwork/models.py index 51f97450..f6a2f266 100644 --- a/patchwork/models.py +++ b/patchwork/models.py @@ -143,9 +143,6 @@ class UserProfile(models.Model): return Project.objects.filter(id__in=Submission.objects.filter( submitter__in=submitters).values('project_id').query) - def sync_person(self): - pass - def n_todo_patches(self): return self.todo_patches().count()