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 | |
---|
7 | // 書き込み管理(コミュニティ削除) |
---|
8 | class admin_do_delete_kakikomi_c_commu extends OpenPNE_Action |
---|
9 | { |
---|
10 | function execute($requests) |
---|
11 | { |
---|
12 | $commu = db_commu_c_commu4c_commu_id($requests['target_c_commu_id']); |
---|
13 | |
---|
14 | if (!$commu) { |
---|
15 | admin_client_redirect('commu_list', '指定された' . WORD_COMMUNITY . 'は存在しません'); |
---|
16 | } |
---|
17 | |
---|
18 | db_common_delete_c_commu($requests['target_c_commu_id']); |
---|
19 | |
---|
20 | admin_client_redirect('commu_list', WORD_COMMUNITY . 'を削除しました'); |
---|
21 | } |
---|
22 | } |
---|
23 | |
---|
24 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.