Ejemplo n.º 1
0
    /**

     * @param string $prj_uid {@min 32} {@max 32}

     * @param string $act_uid {@min 32} {@max 32}

     *

     * @author Brayan Pereyra (Cochalo) <*****@*****.**>

     * @copyright Colosa - Bolivia

     * @return array

     *

     * @url DELETE /:prj_uid/activity/:act_uid

     */

    public function doDeleteProjectActivity($prj_uid, $act_uid)

    {

        try {

            $task = new \ProcessMaker\BusinessModel\Task();

            $task->deleteTask($prj_uid, $act_uid);

        } catch (\Exception $e) {

            throw new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage());

        }

    }