webformConfig(); authentication_require_role($formconf['required_role']); if ($handler->init($id)) { # errors will be displayed as last step anyway, no need for duplicated code ;-) $handler->delete(); } flash_error($handler->errormsg); flash_info($handler->infomsg); header ("Location: " . $formconf['listview']); exit; /* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4: */ ?>