plugins/mod_admin_adhoc.lua
changeset 4780 4b8f2b91826c
parent 4595 bd6dc94d60e9
child 4926 58714123f600
equal deleted inserted replaced
4778:127de6eec433 4780:4b8f2b91826c
    22 local timer_add_task = require "util.timer".add_task;
    22 local timer_add_task = require "util.timer".add_task;
    23 local dataforms_new = require "util.dataforms".new;
    23 local dataforms_new = require "util.dataforms".new;
    24 local array = require "util.array";
    24 local array = require "util.array";
    25 local modulemanager = require "modulemanager";
    25 local modulemanager = require "modulemanager";
    26 
    26 
    27 module:depends"adhoc";
    27 module:depends("adhoc");
    28 local adhoc_new = module:require "adhoc".new;
    28 local adhoc_new = module:require "adhoc".new;
    29 
    29 
    30 function add_user_command_handler(self, data, state)
    30 function add_user_command_handler(self, data, state)
    31 	local add_user_layout = dataforms_new{
    31 	local add_user_layout = dataforms_new{
    32 		title = "Adding a User";
    32 		title = "Adding a User";