summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-02-08 11:52:28 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-02-08 11:52:28 +0100
commit3406715e343774dfc0329c81f35fcfdd4e23ff10 (patch)
tree8fc01b6c38eb8dff7985e70b86e06697312c0ad0 /src
parentb716fe885307411abcb9dea18dd2982fecd26d8c (diff)
downloadabrt-3406715e343774dfc0329c81f35fcfdd4e23ff10.tar.gz
abrt-3406715e343774dfc0329c81f35fcfdd4e23ff10.tar.xz
abrt-3406715e343774dfc0329c81f35fcfdd4e23ff10.zip
remove autoreport hack, re-enable proper code for it
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src')
-rw-r--r--src/Daemon/MiddleWare.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/Daemon/MiddleWare.cpp b/src/Daemon/MiddleWare.cpp
index 3e1b1ea6..28066f59 100644
--- a/src/Daemon/MiddleWare.cpp
+++ b/src/Daemon/MiddleWare.cpp
@@ -752,10 +752,6 @@ bool analyzer_has_AutoReportUIDs(const char *analyzer_name, const char *uid_str)
if (it == settings.end())
return false;
- if ((strcmp(analyzer_name, "Kerneloops") == 0) && (strcmp(uid_str, "-1") == 0))
- return true;
-
-/*
vector_string_t logins;
parse_args(it->second.c_str(), logins);
@@ -769,7 +765,7 @@ bool analyzer_has_AutoReportUIDs(const char *analyzer_name, const char *uid_str)
if (pw->pw_uid == uid)
return true;
}
-*/
+
return false;
}