Skip to content

Commit

Permalink
Remove old hook variants
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Oct 31, 2023
1 parent d9b53b4 commit 5709e3c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions ckanext/spatial/plugin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,6 @@ def after_update(self, context, data_dict):
def after_dataset_update(self, context, data_dict):
self.check_spatial_extra(data_dict, update=True)

def after_delete(self, context, data_dict):
return self.after_dataset_delete(context, data_dict)

def check_spatial_extra(self, dataset_dict, update=False):
'''
For a given dataset, looks at the spatial extent (as given in the
Expand Down Expand Up @@ -165,9 +162,6 @@ def before_index(self, pkg_dict):
def before_search(self, search_params):
return self.before_dataset_search(search_params)

def after_search(self, search_results, search_params):
return self.after_dataset_search(search_results, search_params)

def before_dataset_index(self, pkg_dict):

search_backend = self._get_search_backend()
Expand Down

0 comments on commit 5709e3c

Please sign in to comment.