summaryrefslogtreecommitdiff
path: root/src/components/policy/policy_regular/src/sql_pt_representation.cc
diff options
context:
space:
mode:
authorAlexander Kutsan <akutsan@luxoft.com>2017-08-22 18:37:42 +0300
committerAlexander Kutsan <akutsan@luxoft.com>2017-08-22 18:37:42 +0300
commit287a7dec6a40d5ab0b92cc480243b0d1d9a25e35 (patch)
tree229236e7e666ad232204491b5fbb0f59ba04d096 /src/components/policy/policy_regular/src/sql_pt_representation.cc
parented87882cf04fc04d5cc2e18ffdcfe37c549c4433 (diff)
downloadsdl_core-287a7dec6a40d5ab0b92cc480243b0d1d9a25e35.tar.gz
Remove Promary RC group
Diffstat (limited to 'src/components/policy/policy_regular/src/sql_pt_representation.cc')
-rw-r--r--src/components/policy/policy_regular/src/sql_pt_representation.cc13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/components/policy/policy_regular/src/sql_pt_representation.cc b/src/components/policy/policy_regular/src/sql_pt_representation.cc
index 682c74d0bf..06cbc03dfb 100644
--- a/src/components/policy/policy_regular/src/sql_pt_representation.cc
+++ b/src/components/policy/policy_regular/src/sql_pt_representation.cc
@@ -706,9 +706,6 @@ bool SQLPTRepresentation::GatherApplicationPoliciesSection(
return false;
}
#ifdef SDL_REMOTE_CONTROL
- if (!GatherAppGroupPrimary(app_id, &*params.groups_primaryRC)) {
- return false;
- }
bool denied = false;
if (!GatherRemoteControlDenied(app_id, &denied)) {
return false;
@@ -966,10 +963,6 @@ bool SQLPTRepresentation::SaveSpecificAppPolicy(
return false;
}
#ifdef SDL_REMOTE_CONTROL
- if (!SaveAppGroupPrimary(app.first, *app.second.groups_primaryRC)) {
- return false;
- }
-
bool denied = !app.second.moduleType->is_initialized();
if (!SaveRemoteControlDenied(app.first, denied) ||
!SaveModuleType(app.first, *app.second.moduleType)) {
@@ -1894,12 +1887,6 @@ bool SQLPTRepresentation::SetDefaultPolicy(const std::string& app_id) {
bool ret = (GatherAppGroup(kDefaultId, &default_groups) &&
SaveAppGroup(app_id, default_groups));
-#ifdef SDL_REMOTE_CONTROL
- policy_table::Strings groups_primary;
- ret = ret && (GatherAppGroupPrimary(kDefaultId, &groups_primary) &&
- SaveAppGroupPrimary(app_id, groups_primary));
-#endif // SDL_REMOTE_CONTROL
-
if (ret) {
return SetIsDefault(app_id, true);
}