From 9835395c73ed58957ffe3170bfed85d8a6aa2382 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 15 Sep 2010 10:58:12 -0500 Subject: [PATCH] MDXMLINT-57 --- src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c b/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c index 34873f78d7..2e9a1a3a1a 100644 --- a/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c +++ b/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c @@ -275,7 +275,6 @@ static abyss_bool is_authorized(const TSession * r, const char *command) err = 686; - status = "EXECUTION OF SPECIFIED API COMMAND NOT PERMITTED IN USER ACCOUNT"; if (!user_attributes(user, domain_name, NULL, NULL, NULL, &allowed_commands)) { goto end; @@ -305,11 +304,6 @@ static abyss_bool is_authorized(const TSession * r, const char *command) if (!ok) { ResponseStatus(r, err); - if (status) { - ResponseError2(r, status); - } else { - ResponseError(r); - } }