Skip to content

Commit 7b76320

Browse files
committed
fix resource delete api
1 parent 270895c commit 7b76320

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ckanext/cloudstorage/plugin/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ def get_auth_functions(self):
8888

8989
# CKAN <2.10 compatibility
9090
def before_delete(self, context, resource, resources):
91-
return self.before_dataset_delete(context, resource, resources)
91+
return self.before_resource_delete(context, resource, resources)
9292

93-
def before_dataset_delete(self, context, resource, resources):
93+
def before_resource_delete(self, context, resource, resources):
9494
# let's get all info about our resource. It somewhere in resources
9595
# but if there is some possibility that it isn't(magic?) we have
9696
# `else` clause

0 commit comments

Comments
 (0)