MDL-40220 use new core_component::get_plugin_types()

This commit is contained in:
Petr Škoda
2013-07-16 22:31:48 +02:00
parent 55fcd9323e
commit 46f6f7f224
14 changed files with 21 additions and 21 deletions
+2 -2
View File
@@ -494,8 +494,8 @@ function get_db_directories() {
/// First, the main one (lib/db)
$dbdirs[] = $CFG->libdir.'/db';
/// Then, all the ones defined by get_plugin_types()
$plugintypes = get_plugin_types();
/// Then, all the ones defined by core_component::get_plugin_types()
$plugintypes = core_component::get_plugin_types();
foreach ($plugintypes as $plugintype => $pluginbasedir) {
if ($plugins = get_plugin_list($plugintype)) {
foreach ($plugins as $plugin => $plugindir) {