MDL-65646 core: Move component storage to json
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"plugintypes": {
|
||||
"logstore": "admin\/tool\/log\/store"
|
||||
}
|
||||
}
|
||||
@@ -22,4 +22,5 @@
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
$subplugins = array('logstore' => 'admin/tool/log/store');
|
||||
debugging('Use of subplugins.php has been deprecated. Please provide a subplugins.json instead.', DEBUG_DEVELOPER);
|
||||
$subplugins = (array) json_decode(file_get_contents(__DIR__ . "/subplugins.json"))->plugintypes;
|
||||
|
||||
Reference in New Issue
Block a user