case 'delete':
        $partObject = $partHandler->get(Request::getString('partnum', ''));
        if (1 == Request::getInt('ok', 0)) {
            if (!$GLOBALS['xoopsSecurity']->check()) {
                redirect_header('part.php', 3, implode(', ', $GLOBALS['xoopsSecurity']->getErrors()));