remove warning when SMTP is not configured as notifcation backend

This commit is contained in:
Martin Zimmermann 2014-03-20 16:25:31 +01:00
parent e4ad81cde0
commit da782654b2

View File

@ -167,11 +167,6 @@ class Config:
logger.info("Your `session-key` has been stored in the "
"database itself, this option is now unused")
if rv.get("smtp", "username") and not rv.get("general", "notify"):
logger.warn(("SMTP is no longer enabled by default, add "
"`notify = smtp` to the general section to "
"enable SMTP nofications."))
return rv