Removed obsolete calls.

Updated code to make it clear what is the resource, and what is the associated module resource path.
This commit is contained in:
2015-06-11 23:03:34 +02:00
parent 0fc1cb68ad
commit 21800e71d3
3 changed files with 11 additions and 8 deletions

View File

@@ -160,9 +160,11 @@ feature -- Module
rp: PATH
ut: FILE_UTILITIES
do
-- Check first in selected theme folder.
rp := module_assets_theme_location (a_module)
Result := rp.extended_path (a_resource)
if not ut.file_path_exists (Result) then
-- And if not found, look into site/modules/$a_module.name/.... folders.
rp := module_assets_location (a_module)
Result := rp.extended_path (a_resource)
if not ut.file_path_exists (Result) then