Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 40... Línea 40...
40
    public static function process_pre_save(stdClass $bigbluebuttonbn) {
40
    public static function process_pre_save(stdClass $bigbluebuttonbn) {
41
        self::process_pre_save_instance($bigbluebuttonbn);
41
        self::process_pre_save_instance($bigbluebuttonbn);
42
        self::process_pre_save_checkboxes($bigbluebuttonbn);
42
        self::process_pre_save_checkboxes($bigbluebuttonbn);
43
        self::process_pre_save_common($bigbluebuttonbn);
43
        self::process_pre_save_common($bigbluebuttonbn);
44
        $bigbluebuttonbn->participants = htmlspecialchars_decode($bigbluebuttonbn->participants, ENT_COMPAT);
44
        $bigbluebuttonbn->participants = htmlspecialchars_decode($bigbluebuttonbn->participants, ENT_COMPAT);
-
 
45
        // Conditionally force grade type to none if the activity is recording only.
-
 
46
        if ($bigbluebuttonbn->type == instance::TYPE_RECORDING_ONLY) {
-
 
47
            $bigbluebuttonbn->grade = GRADE_TYPE_NONE;
-
 
48
        }
45
    }
49
    }
Línea 46... Línea 50...
46
 
50
 
47
    /**
51
    /**
48
     * Runs process for defining the instance (insert/update).
52
     * Runs process for defining the instance (insert/update).