From: Elena Mamontova Date: Mon, 8 Aug 2016 06:48:57 +0000 (+0300) Subject: Ticket 37. TariffChangelsAllowed function name changed to X-Git-Tag: 2.409~129 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/e80cfd8ff6b861b428d318a899128cf971fe22c8?hp=865084c6d12eccbb596fef57f620350d96b70555 Ticket 37. TariffChangelsAllowed function name changed to TariffChangeIsAllowed in the ProcessNewMonth() function. --- diff --git a/projects/stargazer/user_impl.cpp b/projects/stargazer/user_impl.cpp index 72a3378f..7701bde3 100644 --- a/projects/stargazer/user_impl.cpp +++ b/projects/stargazer/user_impl.cpp @@ -1184,13 +1184,13 @@ if (nextTariff.ConstData() != "") } else { - if (tariff->TariffChangelsAllowed(*nt) == "") + if (tariff->TariffChangeIsAllowed(*nt) == "") { property.tariffName.Set(nextTariff, sysAdmin, login, store); } else { - std::string message = tariff->TariffChangelsAllowed(*nt); + std::string message = tariff->TariffChangeIsAllowed(*nt); WriteServLog("Tariff change is prohibited for user %s. %s", login.c_str(), message.c_str());