diff --git a/onadata/apps/logger/admin.py b/onadata/apps/logger/admin.py index d6268ea8dd..4ef092de77 100644 --- a/onadata/apps/logger/admin.py +++ b/onadata/apps/logger/admin.py @@ -62,13 +62,6 @@ def restore_form(self, request, queryset): restore_form.short_description = _("Restore selected soft-deleted forms") - def get_actions(self, request): - actions = super().get_actions(request) - if "delete_selected" in actions: - # disable delete_selected action - del actions["delete_selected"] - return actions - admin.site.register(XForm, XFormAdmin)