Skip to content

Commit

Permalink
* Do not try and archive the document automatically, this will be don…
Browse files Browse the repository at this point in the history
…e by a task.
  • Loading branch information
bgroff committed Nov 8, 2018
1 parent b143be2 commit 3b87dc2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions django_kala/documents/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ class Meta:
db_table = 'kala_documents'

def set_active(self, active):
manager = settings.PLATFORM_MANAGER()
manager.archive_document(self) if active else manager.retrieve_document(self)

self.is_active = active
if not self.is_active:
self.removed = timezone.now().date()
Expand Down

0 comments on commit 3b87dc2

Please sign in to comment.