Commit 8b6005ff by Dudás Ádám

storage: rename remove method to conform to other modules

parent e20f846e
......@@ -192,12 +192,12 @@ class Disk(TimeStampedModel):
local_tasks.deploy.apply_async(args=[self, user],
def remove(self, user=None, task_uuid=None):
def destroy(self, user=None, task_uuid=None):
# TODO add activity logging
self.removed =
def remove_async(self, user=None):
def destroy_async(self, user=None):
local_tasks.remove.apply_async(args=[self, user],
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment