summaryrefslogtreecommitdiffstats
path: root/src/daemon/Settings.cpp
diff options
context:
space:
mode:
authorNikola Pajkovsky <npajkovs@redhat.com>2010-11-22 15:25:55 +0100
committerNikola Pajkovsky <npajkovs@redhat.com>2010-11-22 15:25:55 +0100
commit069d5c70a04a5a86824ac00b7881c0e6a8e9e01c (patch)
tree62908c9f38e984d5544547518615ce6bbf4bad16 /src/daemon/Settings.cpp
parent0368c71e7871209f1566b5a185d0840bb99d7794 (diff)
parented9efa9366add566a20be6132c70df08dc50673a (diff)
downloadabrt-069d5c70a04a5a86824ac00b7881c0e6a8e9e01c.tar.gz
abrt-069d5c70a04a5a86824ac00b7881c0e6a8e9e01c.tar.xz
abrt-069d5c70a04a5a86824ac00b7881c0e6a8e9e01c.zip
Merge branch 'remove-polkit'
* remove-polkit: remove PLUGIN_DYNAMIC_LOAD_UNLOAD remove polkit
Diffstat (limited to 'src/daemon/Settings.cpp')
-rw-r--r--src/daemon/Settings.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/daemon/Settings.cpp b/src/daemon/Settings.cpp
index d1cd271a..d0c44c20 100644
--- a/src/daemon/Settings.cpp
+++ b/src/daemon/Settings.cpp
@@ -18,7 +18,6 @@
*/
#include "abrtlib.h"
#include "Settings.h"
-#include "Polkit.h"
#define SECTION_COMMON "Common"
#define SECTION_CRON "Cron"
@@ -432,17 +431,6 @@ map_abrt_settings_t GetSettings()
/* dbus call to change some .conf file data */
void SetSettings(const map_abrt_settings_t& pSettings, const char *dbus_sender)
{
- int polkit_result;
-
- polkit_result = polkit_check_authorization(dbus_sender,
- "org.fedoraproject.abrt.change-daemon-settings");
- if (polkit_result != PolkitYes)
- {
- error_msg("user %s not authorized, returned %d", dbus_sender, polkit_result);
- return;
- }
- log("user %s succesfully authorized", dbus_sender);
-
map_abrt_settings_t::const_iterator it = pSettings.find(SECTION_COMMON);
map_abrt_settings_t::const_iterator end = pSettings.end();
if (it != end)