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

@@ -280,7 +280,7 @@ feature {CMS_API_ACCESS} -- CMS Formats management
if not s.is_empty then
s.append ("+")
end
s.append (f_ic.item.name)
s.append_string_general (f_ic.item.name)
end
ji.put_string (s, "filters")
@@ -293,7 +293,7 @@ feature {CMS_API_ACCESS} -- CMS Formats management
if not s.is_empty then
s.append ("+")
end
s.append (ct.name)
s.append_string_general (ct.name)
end
end
ji.put_string (s, "types")
@@ -1172,7 +1172,7 @@ feature -- Theming path helpers
do
Result := setup.theme_location_for (a_theme_name)
end
theme_path_for (a_theme_name: READABLE_STRING_GENERAL): STRING_8
-- URL path to the theme `a_theme_name`.
do

View File

@@ -399,7 +399,7 @@ feature -- Menu
main_menu: CMS_MENU
obsolete
"Use `primary_menu' [Nov/2014]"
"Use `primary_menu' [2017-05-31]"
do
Result := primary_menu
end
@@ -460,7 +460,7 @@ feature -- Blocks initialization
block_region_preference (a_block_id: READABLE_STRING_8; a_default_region: READABLE_STRING_8): READABLE_STRING_8
-- Region associated with `a_block_id' in configuration, if any.
do
Result := setup.text_item_or_default ("blocks." + a_block_id + ".region", a_default_region)
Result := setup.text_item_or_default ("blocks." + a_block_id + ".region", a_default_region).as_string_8_conversion
end
feature -- Block management
@@ -909,7 +909,7 @@ feature -- Hooks
hooks: CMS_HOOK_CORE_MANAGER
-- Manager handling hook subscriptions.
obsolete
"Use api.hooks [dec/2015]"
"Use api.hooks [2017-05-31]"
do
Result := api.hooks
end
@@ -918,7 +918,7 @@ feature -- Menu: change
add_to_main_menu (lnk: CMS_LINK)
obsolete
"use add_to_primary_menu [Nov/2014]"
"use add_to_primary_menu [2017-05-31]"
do
add_to_primary_menu (lnk)
end