X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/8569ecdc2c9368dc0fe650b901cce7b37337ffec..2196a3a0cdc5384c082febb7f4aa5994cc7d80db:/projects/stargazer/plugins/configuration/rpcconfig/info_methods.cpp?ds=inline diff --git a/projects/stargazer/plugins/configuration/rpcconfig/info_methods.cpp b/projects/stargazer/plugins/configuration/rpcconfig/info_methods.cpp index 895088dc..e0c371cd 100644 --- a/projects/stargazer/plugins/configuration/rpcconfig/info_methods.cpp +++ b/projects/stargazer/plugins/configuration/rpcconfig/info_methods.cpp @@ -1,11 +1,15 @@ -#include - -#include // xmlrpc-c devs have missed something :) +#include "info_methods.h" +#include "rpcconfig.h" +#include "stg/users.h" +#include "stg/tariffs.h" #include "stg/version.h" #include "stg/common.h" -#include "info_methods.h" -#include "rpcconfig.h" +#include "stg/const.h" + +#include // xmlrpc-c devs have missed something :) + +#include void METHOD_INFO::execute(xmlrpc_c::paramList const & paramList, xmlrpc_c::value * const retvalPtr) @@ -77,8 +81,6 @@ void METHOD_LOGOUT::execute(xmlrpc_c::paramList const & paramList, std::string cookie = paramList.getString(0); paramList.verifyEnd(1); -std::map structVal; - if (config->LogoutAdmin(cookie)) { *retvalPtr = xmlrpc_c::value_boolean(false);