Fixed demo module.
This commit is contained in:
@@ -12,7 +12,6 @@ inherit
|
|||||||
redefine
|
redefine
|
||||||
register_hooks,
|
register_hooks,
|
||||||
initialize,
|
initialize,
|
||||||
is_installed,
|
|
||||||
install
|
install
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -52,12 +51,6 @@ feature {CMS_API} -- Module Initialization
|
|||||||
|
|
||||||
feature {CMS_API} -- Module management
|
feature {CMS_API} -- Module management
|
||||||
|
|
||||||
is_installed (api: CMS_API): BOOLEAN
|
|
||||||
-- Is Current module installed?
|
|
||||||
do
|
|
||||||
Result := attached api.storage.custom_value ("is_initialized", "module-" + name) as v and then v.is_case_insensitive_equal_general ("yes")
|
|
||||||
end
|
|
||||||
|
|
||||||
install (api: CMS_API)
|
install (api: CMS_API)
|
||||||
local
|
local
|
||||||
sql: STRING
|
sql: STRING
|
||||||
|
|||||||
Reference in New Issue
Block a user