From cfe9e268f4a82a1f107fc304d6b2779cf781ca4f Mon Sep 17 00:00:00 2001 From: Luke Faraone Date: Mon, 8 Jul 2013 15:25:49 -0700 Subject: [PATCH] Do not specify cascade=True in deactivate_user_backend. This was mistakenly included from a previous iteration of the do_deactivate() function's interface. (imported from commit 0a6ddc5ba1dfe944f2cc0087c590046da6a73531) --- zephyr/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zephyr/views.py b/zephyr/views.py index 2b66082d76..4d49acb70a 100644 --- a/zephyr/views.py +++ b/zephyr/views.py @@ -1962,7 +1962,7 @@ def deactivate_user_backend(request, user_profile, email): if target.bot_owner != user_profile and not user_profile.has_perm('administer', user_profile.realm): return json_error('Insufficient permission') - do_deactivate(target, cascade=True) + do_deactivate(target) return json_success({}) @authenticated_json_post_view