Skip to content

Commit

Permalink
[#2375] Fix a crash in organization delete auth
Browse files Browse the repository at this point in the history
Was only crashing with an IOrganizationForm plugin active as the
function is only used then
  • Loading branch information
Sean Hammond committed Sep 13, 2012
1 parent e1ef7a5 commit 4d7c98e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ckan/logic/auth/organization/delete.py
@@ -1,6 +1,7 @@
import ckan.logic as logic
from ckan.logic.auth import get_package_object, get_group_object, \
get_user_object, get_resource_object, get_related_object
get_user_object, get_resource_object, get_related_object, \
get_organization_object
from ckan.logic.auth.organization import _groups_intersect
from ckan.logic.auth.organization.create import package_relationship_create
from ckan.authz import Authorizer
Expand Down

0 comments on commit 4d7c98e

Please sign in to comment.