New WebEx Meeting activity module

Ri: New WebEx Meeting activity module

by Emanuel Bechis -
Number of replies: 0

ciao,

Small suggestion:

when a meeting is ended, and deleted from webex it' not possible edit anymore the activity in moodle. For example if I need to edit the description to adding the reference to the next meeting. I my case I solve the issue editing the function webexactivity_update_instance adding this line:

    $startmeeting = $data->starttime;
    $now = time();
    if ($startmeeting > $now){

    try {
        return $meeting->save();
    } catch (Exception $e) {
        $collision = ($e instanceof \mod_webexactivity\exception\webex_user_collision);
        $password = ($e instanceof \mod_webexactivity\exception\bad_password);
        if ($collision || $password) {
            \mod_webexactivity\webex::password_redirect($PAGE->url);
        } else {
            throw $e;
        }
        throw $e;
    }
    }else{
        $data->id = $data->instance;
        $DB->update_record('webexactivity',$data);
        return true;
    }

ciao