function execute()
 {
     $context = $this->getContext();
     $controller = $context->getController();
     $request = $context->getRequest();
     $user = $context->getUser();
     if (!$this->get_execute_privilege()) {
         $controller->forward(SECURE_MODULE, SECURE_ACTION);
         return;
     }
     //削除処理を行う
     $target_community_id = $request->getParameter('community_id');
     $acs_user_info_row = $user->getAttribute('acs_user_info_row');
     $bbs_id = $request->getParameter('bbs_id');
     //ファイル情報テーブルのデータ削除
     $bbs_obj = ACSBBS::get_bbs_row($bbs_id);
     if (!$bbs_obj) {
         echo ACSMsg::get_msg('Community', 'DeleteBBSAction.class.php', 'M001');
     }
     $ret = ACSBBS::delete_bbs($bbs_obj);
     if (!$ret) {
         echo "ERROR: delete article failed";
     }
     //表示
     $bbs_change_url = $this->getControllerPath('Community', 'BBS');
     $bbs_change_url .= '&community_id=' . $target_community_id . '&bbs_id=' . $bbs_id;
     header("Location: {$bbs_change_url}");
 }