summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Byrne <jack@livio.io>2015-07-01 15:37:37 -0400
committerJack Byrne <jack@livio.io>2015-07-01 15:37:37 -0400
commit91b190bf5fa053570506a42cc88963c5c51bbc6b (patch)
tree49979656667cf382fa6362894969b8bc99b0f76d
parenta2a0813b0eea19357bc5d58c74d935ffbe954db4 (diff)
downloadsdl_core-hotfix/policy_table_backup_proc.tar.gz
Reverted Changes from last commithotfix/policy_table_backup_proc
-rw-r--r--src/components/policy/src/policy/src/sql_pt_representation.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/components/policy/src/policy/src/sql_pt_representation.cc b/src/components/policy/src/policy/src/sql_pt_representation.cc
index e72550c46f..47eae02dd7 100644
--- a/src/components/policy/src/policy/src/sql_pt_representation.cc
+++ b/src/components/policy/src/policy/src/sql_pt_representation.cc
@@ -670,9 +670,9 @@ bool SQLPTRepresentation::GatherApplicationPoliciesSection(
if (!GatherAppType(app_id, &*params.AppHMIType)) {
return false;
}
- /*if (!GatherRequestType(app_id, &*params.RequestType)) {
+ if (!GatherRequestType(app_id, &*params.RequestType)) {
return false;
- }*/
+ }
(*policies).apps[app_id] = params;
}
@@ -821,10 +821,10 @@ bool SQLPTRepresentation::SaveApplicationPoliciesSection(
return false;
}
- /*if (!query_delete.Exec(sql_pt::kDeleteRequestType)) {
+ if (!query_delete.Exec(sql_pt::kDeleteRequestType)) {
LOG4CXX_WARN(logger_, "Incorrect delete from request type.");
return false;
- }*/
+ }
// All predefined apps (e.g. default, pre_DataConsent) should be saved first,
// otherwise another app with the predefined permissions can get incorrect
@@ -903,9 +903,9 @@ bool SQLPTRepresentation::SaveSpecificAppPolicy(
return false;
}
- /*if (!SaveRequestType(app.first, *app.second.RequestType)) {
+ if (!SaveRequestType(app.first, *app.second.RequestType)) {
return false;
- }*/
+ }
return true;
}