Only remove objects that are known
This commit is contained in:
@ -176,6 +176,7 @@ class Remove(Add):
|
||||
def action(self):
|
||||
""" find and remove the activity object """
|
||||
obj = self.object.to_model(save=False, allow_create=False)
|
||||
if obj:
|
||||
obj.delete()
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user