ここの情報は古いです。ご理解頂いた上でお取り扱いください。

source: OpenPNE/branches/work/ogawa/renew_OpenPNE_Auth/webapp_biz/modules/biz/do/f_home_delete_biz_todo.php @ 6963

Last change on this file since 6963 was 6963, checked in by ogawa, 12 years ago

merged stable-2.12.x

File size: 686 bytes
Line 
1<?php
2/**
3 * @copyright 2005-2008 OpenPNE Project
4 * @license   http://www.php.net/license/3_01.txt PHP License 3.01
5 */
6
7class biz_do_f_home_delete_biz_todo extends OpenPNE_Action
8{
9    function execute($requests)
10    {
11        $u = $GLOBALS['AUTH']->uid();
12
13        // --- リクエスト変数
14        $delid = $requests['delid'];
15        $id = $requests['target_id'];
16        // ----------
17
18        if (!biz_isPermissionTodo($u, $delid)) {
19            handle_kengen_error();
20        }
21        biz_deleteTodo($delid);
22
23        $todo = biz_getTodo($id);
24
25        $p = array('target_c_member_id' => $todo['c_member_id']);
26        openpne_redirect('pc', 'page_f_home', $p);
27    }
28}
29
30?>
Note: See TracBrowser for help on using the repository browser.