From 86778572e75f29cfe74b84b37a948fdcebc733e2 Mon Sep 17 00:00:00 2001 From: Ycarus Date: Thu, 8 Nov 2018 19:20:05 +0100 Subject: [PATCH] Cleaning in mail interface --- luci-app-mail/luasrc/controller/mail.lua | 2 -- luci-app-mail/luasrc/model/cbi/mail.lua | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/luci-app-mail/luasrc/controller/mail.lua b/luci-app-mail/luasrc/controller/mail.lua index 712c20e32..4ded103eb 100644 --- a/luci-app-mail/luasrc/controller/mail.lua +++ b/luci-app-mail/luasrc/controller/mail.lua @@ -1,5 +1,3 @@ -local ucic = luci.model.uci.cursor() -local dt = require "luci.cbi.datatypes" module("luci.controller.mail", package.seeall) function index() diff --git a/luci-app-mail/luasrc/model/cbi/mail.lua b/luci-app-mail/luasrc/model/cbi/mail.lua index 63969db3b..873458810 100644 --- a/luci-app-mail/luasrc/model/cbi/mail.lua +++ b/luci-app-mail/luasrc/model/cbi/mail.lua @@ -1,7 +1,7 @@ -- Copyright 2018 Ycarus (Yannick Chabanois) -- Licensed to the public under the Apache License 2.0. -m = Map("mail", translate("Send mail"), translate("Send mail settings")) +m = Map("mail", translate("Send mail"), translate("Set mail settings for services that need to send mails.")) s = m:section(TypedSection, "smtp", translate("SMTP")) s.anonymous = true