Minahito
minah****@users*****
2006年 3月 28日 (火) 13:17:31 JST
Index: xoops2jp/html/modules/user/admin/actions/UserGroupDeleteAction.class.php diff -u xoops2jp/html/modules/user/admin/actions/UserGroupDeleteAction.class.php:1.1.2.2 xoops2jp/html/modules/user/admin/actions/UserGroupDeleteAction.class.php:removed --- xoops2jp/html/modules/user/admin/actions/UserGroupDeleteAction.class.php:1.1.2.2 Sun Dec 25 00:00:14 2005 +++ xoops2jp/html/modules/user/admin/actions/UserGroupDeleteAction.class.php Tue Mar 28 13:17:31 2006 @@ -1,48 +0,0 @@ -<?php - -require_once XOOPS_MODULE_PATH . "/user/class/AbstractDeleteAction.class.php"; - -class UserGroupDeleteAction extends User_AbstractDeleteAction -{ - function &getHandler() - { - $handler =& xoops_gethandler('group'); - return $handler; - } - - function &getDeleteHandler() - { - $handler =& xoops_gethandler('member'); - return $handler; - } - - function getId() - { - $id = isset($_REQUEST['groupid']) ? intval($_REQUEST['groupid']) : 0; - - // KICK - if ($id <= XOOPS_GROUP_ANONYMOUS) - $id = 0; - - return $id; - } - - function executeViewInput(&$controller, &$xoopsUser, &$renderSystem) - { - $renderSystem->setTemplateName("group_delete_confirm.html"); - $renderSystem->setAttribute("group", $this->mObject); - } - - function executeViewSuccess(&$controller,&$xoopsUser,&$renderSystem) - { - XCube_Utils::redirectHeader("?action=GroupList",1,"*SUCCESS*"); - } - - function executeViewError(&$controller, &$xoopsUser, &$renderSystem) - { - XCube_Utils::redirectHeader("?action=GroupList", 1, "*DELETE ERROR*"); - } - -} - -?> \ No newline at end of file