Merge branch 'MDL-72292-master' of https://github.com/lameze/moodle
This commit is contained in:
@@ -1203,9 +1203,13 @@ $cache = '.var_export($cache, true).';
|
||||
* and the value is the new class name.
|
||||
* It is only included when we are populating the component cache. After that is not needed.
|
||||
*
|
||||
* @param string $fulldir
|
||||
* @param string|null $fulldir The directory to the renamed classes.
|
||||
*/
|
||||
protected static function load_renamed_classes($fulldir) {
|
||||
protected static function load_renamed_classes(?string $fulldir) {
|
||||
if (is_null($fulldir)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$file = $fulldir . '/db/renamedclasses.php';
|
||||
if (is_readable($file)) {
|
||||
$renamedclasses = null;
|
||||
|
||||
Reference in New Issue
Block a user