Added ldoc comments for all lua modules and generated docs in documentation index.html
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
--- remove_member_consent
|
||||
--- Calls consent to remove member from org
|
||||
-- @module remove_member_consent
|
||||
|
||||
local remove_member_consent = {
|
||||
@ -15,6 +15,9 @@ remove_member_consent.data = {
|
||||
remove_member_consent.config = {
|
||||
}
|
||||
|
||||
--- Removes given member from org
|
||||
-- @function remove_member_consent:initiate
|
||||
-- @param result
|
||||
function remove_member_consent:initiate(result)
|
||||
-- Abort if in root org
|
||||
if self.org == modpol.instance then
|
||||
@ -60,5 +63,4 @@ function remove_member_consent:complete()
|
||||
if self.data.result then self.data.result() end
|
||||
end
|
||||
|
||||
--- (Required) Add to module table
|
||||
modpol.modules.remove_member_consent = remove_member_consent
|
||||
|
Reference in New Issue
Block a user