Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 263... Línea 263...
263
                 'subitems' => $subitems,
263
                 'subitems' => $subitems,
264
                );
264
                );
265
}
265
}
Línea 266... Línea 266...
266
 
266
 
267
/**
-
 
268
 * Wrapper for function libxml_disable_entity_loader() deprecated in PHP 8
-
 
269
 *
-
 
270
 * Method was deprecated in PHP 8 and it shows deprecation message. However it is still
-
 
271
 * required in the previous versions on PHP. While Moodle supports both PHP 7 and 8 we need to keep it.
-
 
272
 * @see https://php.watch/versions/8.0/libxml_disable_entity_loader-deprecation
-
 
273
 *
-
 
274
 * @param bool $value
-
 
275
 * @return bool
-
 
276
 *
-
 
277
 * @deprecated since Moodle 4.3
-
 
278
 */
-
 
279
function imscp_libxml_disable_entity_loader(bool $value): bool {
-
 
280
    debugging(__FUNCTION__ . '() is deprecated, please do not use it any more', DEBUG_DEVELOPER);
-
 
281
    return true;
-
 
282
}
-
 
283
 
-
 
284
/**
267
/**
285
 * File browsing support class
268
 * File browsing support class
286
 *
269
 *
287
 * @copyright  2009 Petr Skoda  {@link http://skodak.org}
270
 * @copyright  2009 Petr Skoda  {@link http://skodak.org}
288
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
271
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later