mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 14:03:52 +01:00
Merge branch 'MDL-65995' of git://github.com/stronk7/moodle
This commit is contained in:
commit
c0cc1ebe85
@ -537,9 +537,8 @@ $cache = '.var_export($cache, true).';
|
||||
if (file_exists("$ownerdir/db/subplugins.json")) {
|
||||
$subplugins = (array) json_decode(file_get_contents("$ownerdir/db/subplugins.json"))->plugintypes;
|
||||
} else if (file_exists("$ownerdir/db/subplugins.php")) {
|
||||
debugging('Use of subplugins.php has been deprecated. ' .
|
||||
'Please update your plugin to provide a subplugins.json file instead.',
|
||||
DEBUG_DEVELOPER);
|
||||
error_log('Use of subplugins.php has been deprecated. ' .
|
||||
"Please update your '$ownerdir' plugin to provide a subplugins.json file instead.");
|
||||
include("$ownerdir/db/subplugins.php");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user