From a6cdda0a1480c79e42a8ba27a51350e9f4e36e4c Mon Sep 17 00:00:00 2001 From: Florian Mayer Date: Wed, 19 Aug 2015 08:41:42 +0000 Subject: [PATCH] set max version to 2.4.99 --- ckanext/harvest/logic/action/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckanext/harvest/logic/action/update.py b/ckanext/harvest/logic/action/update.py index ae6f431..7044128 100644 --- a/ckanext/harvest/logic/action/update.py +++ b/ckanext/harvest/logic/action/update.py @@ -141,7 +141,7 @@ def harvest_source_clear(context,data_dict): (select id from package where state = 'to_delete'); ''' # CKAN pre-2.5: authz models were removed in migration 078 - if toolkit.check_ckan_version(max_version='2.4'): + if toolkit.check_ckan_version(max_version='2.4.99'): sql += ''' delete from user_object_role where id not in (select user_object_role_id from package_role) and context = 'Package';