diff --git a/ckanext/datagovcatalog/plugin.py b/ckanext/datagovcatalog/plugin.py index 540de9a..5370037 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 - } + next_harvest = toolkit.asbool(config.get('ckanext.datagovtheme.next_harvest', 'false')) + if next_harvest: + return {} + else: + return { + "harvest_get_notifications_recipients": harvest_get_notifications_recipients + } # IPackageController