Remove no longer used document method

This commit is contained in:
Roberto Rosario
2015-06-16 15:21:02 -04:00
parent 99c8fb8da2
commit e47385ddfb

View File

@@ -128,13 +128,6 @@ class Document(models.Model):
else:
event_document_create.commit(target=self)
def invalidate_cached_image(self, page):
pass
#try:
# os.unlink(self.get_cached_image_name(page, self.latest_version.pk)[0])
#except OSError:
# pass
def add_as_recent_document_for_user(self, user):
RecentDocument.objects.add_document_for_user(user, self)