Last change
on this file since 1332 was
1332,
checked in by ebihara, 16 years ago
|
一部のBIZ関数について関数名命名規則見直しをし、lib/以下で定義した上で関数内処理を改善した
|
File size:
634 bytes
|
Line | |
---|
1 | <?php |
---|
2 | /** |
---|
3 | * @copyright 2005-2006 OpenPNE Project |
---|
4 | * @license http://www.php.net/license/3_01.txt PHP License 3.01 |
---|
5 | */ |
---|
6 | |
---|
7 | class 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 (!db_todo_public_flag_condition($u, $delid)) { |
---|
19 | handle_kengen_error(); |
---|
20 | } |
---|
21 | db_todo_delete_biz_todo($delid); |
---|
22 | |
---|
23 | $p = array('target_c_member_id' => $id); |
---|
24 | openpne_redirect('pc', 'page_f_home', $p); |
---|
25 | } |
---|
26 | } |
---|
27 | |
---|
28 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.