From e80cfd8ff6b861b428d318a899128cf971fe22c8 Mon Sep 17 00:00:00 2001 From: Elena Mamontova Date: Mon, 8 Aug 2016 09:48:57 +0300 Subject: [PATCH 1/1] Ticket 37. TariffChangelsAllowed function name changed to TariffChangeIsAllowed in the ProcessNewMonth() function. --- projects/stargazer/user_impl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()); -- 2.44.2