Updated obsolete message with expected timestamp.

Removed a few obsolete calls or implicit conversions.
This commit is contained in:
Jocelyn Fiat
2017-05-12 15:59:31 +02:00
parent 1aad62ed52
commit b814c91e91
9 changed files with 28 additions and 20 deletions

View File

@@ -104,7 +104,7 @@ feature -- Access
do
if not retried then
if attached text_item ("mailer.smtp") as l_smtp then
create {NOTIFICATION_SMTP_MAILER} l_mailer.make (l_smtp)
create {NOTIFICATION_SMTP_MAILER} l_mailer.make (l_smtp.as_string_8_conversion)
elseif attached text_item ("mailer.sendmail") as l_sendmail then
create {NOTIFICATION_SENDMAIL_MAILER} l_mailer.make_with_location (l_sendmail)
end

View File

@@ -17,6 +17,7 @@ feature {NONE} -- Initialization
local
l_url: like site_url
s, l_email: detachable READABLE_STRING_8
utf: UTF_CONVERTER
do
site_location := environment.path
@@ -49,7 +50,7 @@ feature {NONE} -- Initialization
l_email := string_8_item_or_default ("mailer.from", "webmaster")
end
if l_email.has ('<') then
l_email := site_name + " <" + l_email + ">"
l_email := utf.string_32_to_utf_8_string_8 (site_name) + " <" + l_email + ">"
end
site_email := l_email
@@ -125,7 +126,7 @@ feature -- Access
layout: CMS_ENVIRONMENT
-- CMS environment.
obsolete "use `environment' [april-2015]"
obsolete "use `environment' [2017-05-31]"
do
Result := environment
end