Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
moodle
moodle
Commits
ce7eee8e
Commit
ce7eee8e
authored
Jun 30, 2022
by
Andrew Nicols
Browse files
Merge branch 'MDL-72292-master' of
https://github.com/lameze/moodle
parents
694ef721
b20cca26
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/classes/component.php
View file @
ce7eee8e
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment