//------------------------------------------------------------------------------
void METHOD_USER_GET::execute(xmlrpc_c::paramList const & paramList,
//------------------------------------------------------------------------------
void METHOD_USER_GET::execute(xmlrpc_c::paramList const & paramList,
{
users->Del(login, admin);
*retvalPtr = xmlrpc_c::value_boolean(true);
{
users->Del(login, admin);
*retvalPtr = xmlrpc_c::value_boolean(true);
std::string cookie = paramList.getString(0);
std::string login = paramList.getString(1);
xmlrpc_c::value_struct info(paramList.getStruct(2));
std::string cookie = paramList.getString(0);
std::string login = paramList.getString(1);
xmlrpc_c::value_struct info(paramList.getStruct(2));
- uhelper.SetUserInfo(info, admin, login, *store);
+ uhelper.SetUserInfo(info, admin, login, *store, tariffs);
- uhelper.SetUserInfo(info, admin, login, *store);
+ uhelper.SetUserInfo(info, admin, login, *store, tariffs);
std::string login = paramList.getString(1);
double amount = paramList.getDouble(2);
std::string comment = IconvString(paramList.getString(3), "UTF-8", "KOI8-R");
std::string login = paramList.getString(1);
double amount = paramList.getDouble(2);
std::string comment = IconvString(paramList.getString(3), "UTF-8", "KOI8-R");
-if (!u->property.cash.Set(cash, admin, login, store, comment))
+if (!u->GetProperty().cash.Set(cash, admin, login, store, comment))
std::string login = paramList.getString(1);
double cash = paramList.getDouble(2);
std::string comment = IconvString(paramList.getString(3), "UTF-8", "KOI8-R");
std::string login = paramList.getString(1);
double cash = paramList.getDouble(2);
std::string comment = IconvString(paramList.getString(3), "UTF-8", "KOI8-R");
-if (!u->property.cash.Set(cash, admin, login, store, comment))
+if (!u->GetProperty().cash.Set(cash, admin, login, store, comment))
std::string tariff = paramList.getString(2);
bool delayed = paramList.getBoolean(3);
std::string comment = IconvString(paramList.getString(4), "UTF-8", "KOI8-R");
std::string tariff = paramList.getString(2);
bool delayed = paramList.getBoolean(3);
std::string comment = IconvString(paramList.getString(4), "UTF-8", "KOI8-R");