Commit ce7eee8e authored by Andrew Nicols's avatar Andrew Nicols
Browse files

Merge branch 'MDL-72292-master' of

parents 694ef721 b20cca26
......@@ -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)) {
$file = $fulldir . '/db/renamedclasses.php';
if (is_readable($file)) {
$renamedclasses = null;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment