summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Plugins/Mailx.cpp7
-rw-r--r--lib/Plugins/Mailx.h1
2 files changed, 0 insertions, 8 deletions
diff --git a/lib/Plugins/Mailx.cpp b/lib/Plugins/Mailx.cpp
index 6daf8eb9..81b07639 100644
--- a/lib/Plugins/Mailx.cpp
+++ b/lib/Plugins/Mailx.cpp
@@ -31,7 +31,6 @@
CMailx::CMailx() :
m_sEmailFrom("user@localhost"),
m_sEmailTo("root@localhost"),
- m_sParameters(""),
m_sAttachments(""),
m_sSubject("[abrt] full crash report"),
m_bSendBinaryData(false)
@@ -44,7 +43,6 @@ void CMailx::SendEmail(const std::string& pSubject, const std::string& pText)
FILE* command;
std::string mailx_command = MAILX_COMMAND + m_sAttachments +
- " " + m_sParameters +
" -s " + pSubject +
" -r " + m_sEmailFrom + " " + m_sEmailTo;
@@ -152,10 +150,6 @@ void CMailx::SetSettings(const map_plugin_settings_t& pSettings)
{
m_sEmailTo = pSettings.find("EmailTo")->second;
}
- if (pSettings.find("Parameters") != pSettings.end())
- {
- m_sParameters = pSettings.find("Parameters")->second;
- }
if (pSettings.find("SendBinaryData") != pSettings.end())
{
m_bSendBinaryData = pSettings.find("SendBinaryData")->second == "yes";
@@ -169,7 +163,6 @@ map_plugin_settings_t CMailx::GetSettings()
ret["Subject"] = m_sSubject;
ret["EmailFrom"] = m_sEmailFrom;
ret["EmailTo"] = m_sEmailTo;
- ret["Parameters"] = m_sParameters;
ret["SendBinaryData"] = m_bSendBinaryData ? "yes" : "no";
return ret;
diff --git a/lib/Plugins/Mailx.h b/lib/Plugins/Mailx.h
index ff8685d9..64b9b33c 100644
--- a/lib/Plugins/Mailx.h
+++ b/lib/Plugins/Mailx.h
@@ -32,7 +32,6 @@ class CMailx : public CReporter
private:
std::string m_sEmailFrom;
std::string m_sEmailTo;
- std::string m_sParameters;
std::string m_sAttachments;
std::string m_sSubject;
bool m_bSendBinaryData;