[PATCH v2 3/4] models: Remove UserProfile.sync_person
Stephen Finucane
stephen at that.guru
Thu Oct 20 18:28:55 AEDT 2016
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 <stephen at that.guru>
Reviewed-by: Daniel Axtens <dja at axtens.net>
---
patchwork/models.py | 3 ---
1 file changed, 3 deletions(-)
diff --git a/patchwork/models.py b/patchwork/models.py
index 51f9745..f6a2f26 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()
--
2.7.4
More information about the Patchwork
mailing list