Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 1279... Línea 1279...
1279
     * @param bool $ishistory
1279
     * @param bool $ishistory
1280
     * @param array|null $userids
1280
     * @param array|null $userids
1281
     * @throws \coding_exception
1281
     * @throws \coding_exception
1282
     * @throws \dml_exception
1282
     * @throws \dml_exception
1283
     */
1283
     */
1284
    protected static function delete_files(array $itemids, bool $ishistory, array $userids = null) {
1284
    protected static function delete_files(array $itemids, bool $ishistory, ?array $userids = null) {
1285
        global $DB;
1285
        global $DB;
Línea 1286... Línea 1286...
1286
 
1286
 
1287
        list($iteminnsql, $params) = $DB->get_in_or_equal($itemids, SQL_PARAMS_NAMED);
1287
        list($iteminnsql, $params) = $DB->get_in_or_equal($itemids, SQL_PARAMS_NAMED);
1288
        if (!is_null($userids)) {
1288
        if (!is_null($userids)) {