diff options
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.cc | 22 |
1 files changed, 0 insertions, 22 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 7b2d01ef53..c6d0b60f89 100644 --- a/src/components/policy/policy_regular/src/sql_pt_representation.cc +++ b/src/components/policy/policy_regular/src/sql_pt_representation.cc @@ -241,28 +241,6 @@ EndpointUrls SQLPTRepresentation::GetUpdateUrls(int service_type) { return ret; } -std::string SQLPTRepresentation::GetLockScreenIconUrl() const { - utils::dbms::SQLQuery query(db()); - std::string ret; - if (query.Prepare(sql_pt::kSelectLockScreenIcon)) { - query.Bind(0, std::string("lock_screen_icon_url")); - query.Bind(1, std::string("default")); - - if (!query.Exec()) { - LOG4CXX_WARN(logger_, "Incorrect select from notifications by priority."); - return ret; - } - - if (!query.IsNull(0)) { - ret = query.GetString(0); - } - - } else { - LOG4CXX_WARN(logger_, "Invalid select endpoints statement."); - } - return ret; -} - int SQLPTRepresentation::GetNotificationsNumber(const std::string& priority) { LOG4CXX_AUTO_TRACE(logger_); utils::dbms::SQLQuery query(db()); |