Replace delete() with admin_delete()