Let handler delete files when deleting upgrade
This commit is contained in:
parent
56910ea4c1
commit
0516d44842
|
@ -363,6 +363,10 @@ class UpgradeView(MasterView):
|
||||||
|
|
||||||
return data
|
return data
|
||||||
|
|
||||||
|
def delete_instance(self, upgrade):
|
||||||
|
self.handler.delete_files(upgrade)
|
||||||
|
super(UpgradeView, self).delete_instance(upgrade)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def defaults(cls, config):
|
def defaults(cls, config):
|
||||||
route_prefix = cls.get_route_prefix()
|
route_prefix = cls.get_route_prefix()
|
||||||
|
|
Loading…
Reference in a new issue