# HG changeset patch # User Thomas De Schampheleire # Date 2015-07-16 08:09:20 # Node ID dc6abf7a63d37f0a43082825a89b2b76aa44d43a # Parent efbd922f594caba44232bf9214bff57fbe8ce8b4 e-mail: remove unused setting error_message from ini files The ini files and templates contain a commented setting of 'error_message' which does not seem to be used. It is referring to the error_message variable in Paste, which has as description (Paste:ErrorMiddleware): When debug mode is off, the error message to show to users. However, setting this value apparently made no effect at all in Kallithea. diff --git a/development.ini b/development.ini --- a/development.ini +++ b/development.ini @@ -23,7 +23,6 @@ pdebug = false #email_to = admin@localhost #error_email_from = paste_error@localhost #app_email_from = kallithea-noreply@localhost -#error_message = #email_prefix = [Kallithea] #smtp_server = mail.server.com diff --git a/kallithea/bin/template.ini.mako b/kallithea/bin/template.ini.mako --- a/kallithea/bin/template.ini.mako +++ b/kallithea/bin/template.ini.mako @@ -17,7 +17,6 @@ pdebug = false #email_to = admin@localhost #error_email_from = paste_error@localhost #app_email_from = kallithea-noreply@localhost -#error_message = #email_prefix = [Kallithea] #smtp_server = mail.server.com diff --git a/kallithea/config/deployment.ini_tmpl b/kallithea/config/deployment.ini_tmpl --- a/kallithea/config/deployment.ini_tmpl +++ b/kallithea/config/deployment.ini_tmpl @@ -18,7 +18,6 @@ pdebug = false #email_to = admin@localhost #error_email_from = paste_error@localhost #app_email_from = kallithea-noreply@localhost -#error_message = #email_prefix = [Kallithea] #smtp_server = mail.server.com diff --git a/production.ini b/production.ini --- a/production.ini +++ b/production.ini @@ -22,7 +22,6 @@ pdebug = false #email_to = admin@localhost #error_email_from = paste_error@localhost #app_email_from = kallithea-noreply@localhost -#error_message = #email_prefix = [Kallithea] #smtp_server = mail.server.com diff --git a/test.ini b/test.ini --- a/test.ini +++ b/test.ini @@ -22,7 +22,6 @@ pdebug = false #email_to = admin@localhost #error_email_from = paste_error@localhost #app_email_from = kallithea-noreply@localhost -#error_message = #email_prefix = [Kallithea] #smtp_server = mail.server.com