diff --git a/ckanext/datagovcatalog/plugin.py b/ckanext/datagovcatalog/plugin.py index 540de9a..76dd563 100644 --- a/ckanext/datagovcatalog/plugin.py +++ b/ckanext/datagovcatalog/plugin.py @@ -32,9 +32,13 @@ def get_helpers(self): return {} def get_actions(self): - return { - "harvest_get_notifications_recipients": harvest_get_notifications_recipients - } + harvest_next = toolkit.asbool(config.get('ckanext.datagovtheme.harvest_next', 'false')) + if harvest_next: + return {} + else: + return { + "harvest_get_notifications_recipients": harvest_get_notifications_recipients + } # IPackageController