Code Duplication    Length = 3-3 lines in 2 locations

classes/locallib/bigbluebutton.php 1 location

@@ 213-215 (lines=3) @@
210
            $bbbsession['recordhidebutton'] = $bbbsession['bigbluebuttonbn']->recordhidebutton;
211
        }
212
        $bbbsession['welcome'] = $bbbsession['bigbluebuttonbn']->welcome;
213
        if (!isset($bbbsession['welcome']) || $bbbsession['welcome'] == '') {
214
            $bbbsession['welcome'] = get_string('mod_form_field_welcome_default', 'bigbluebuttonbn');
215
        }
216
        if ($bbbsession['bigbluebuttonbn']->record) {
217
            // Check if is enable record all from start.
218
            if ($bbbsession['recordallfromstart']) {

locallib.php 1 location

@@ 3651-3653 (lines=3) @@
3648
    }
3649
3650
    $bbbsession['welcome'] = $bbbsession['bigbluebuttonbn']->welcome;
3651
    if (!isset($bbbsession['welcome']) || $bbbsession['welcome'] == '') {
3652
        $bbbsession['welcome'] = get_string('mod_form_field_welcome_default', 'bigbluebuttonbn');
3653
    }
3654
    if ($bbbsession['bigbluebuttonbn']->record) {
3655
        // Check if is enable record all from start.
3656
        if ($bbbsession['recordallfromstart']) {