diff --git a/lib/classes/component.php b/lib/classes/component.php index 2f1d3363751..187fde8d555 100644 --- a/lib/classes/component.php +++ b/lib/classes/component.php @@ -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"); }