X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/6e9c03d53920b4c53c9b93303ae676be0f100585..40bd7d8e03fc5972a532844b828b9668a596a321:/projects/stargazer/plugins/configuration/sgconfig/configproto.cpp?ds=inline diff --git a/projects/stargazer/plugins/configuration/sgconfig/configproto.cpp b/projects/stargazer/plugins/configuration/sgconfig/configproto.cpp index dff8760a..eb8fbcde 100644 --- a/projects/stargazer/plugins/configuration/sgconfig/configproto.cpp +++ b/projects/stargazer/plugins/configuration/sgconfig/configproto.cpp @@ -184,7 +184,7 @@ while(nonstop) if (currParser) { printfd(__FILE__, "Parser reset\n"); - currParser->Reset(); + //currParser->Reset(); currParser = NULL; } @@ -203,31 +203,5 @@ return 0; void CONFIGPROTO::SetAdmins(ADMINS * a) { admins = a; -for (size_t i = 0; i < dataParser.size(); i++) - dataParser[i]->SetAdmins(a); -} -//----------------------------------------------------------------------------- -void CONFIGPROTO::SetUsers(USERS * u) -{ -for (size_t i = 0; i < dataParser.size(); i++) - dataParser[i]->SetUsers(u); -} -//----------------------------------------------------------------------------- -void CONFIGPROTO::SetTariffs(TARIFFS * t) -{ -for (size_t i = 0; i < dataParser.size(); i++) - dataParser[i]->SetTariffs(t); -} -//----------------------------------------------------------------------------- -void CONFIGPROTO::SetStore(STORE * s) -{ -for (size_t i = 0; i < dataParser.size(); i++) - dataParser[i]->SetStore(s); -} -//----------------------------------------------------------------------------- -void CONFIGPROTO::SetStgSettings(const SETTINGS * s) -{ -for (size_t i = 0; i < dataParser.size(); i++) - dataParser[i]->SetStgSettings(s); } //-----------------------------------------------------------------------------