MDL-40220 use new core_component::get_plugin_list()

This commit is contained in:
Petr Škoda
2013-07-16 22:36:11 +02:00
parent 46f6f7f224
commit bd3b3bba9f
87 changed files with 147 additions and 147 deletions
+2 -2
View File
@@ -65,7 +65,7 @@ class assign_admin_page_manage_assign_plugins extends admin_externalpage {
$found = false;
$textlib = new textlib();
foreach (get_plugin_list($this->subtype) as $name => $notused) {
foreach (core_component::get_plugin_list($this->subtype) as $name => $notused) {
if (strpos($textlib::strtolower(get_string('pluginname', $this->subtype . '_' . $name)),
$query) !== false) {
$found = true;
@@ -116,7 +116,7 @@ class assign_plugin_manager {
* @return array The list of plugins
*/
public function get_sorted_plugins_list() {
$names = get_plugin_list($this->subtype);
$names = core_component::get_plugin_list($this->subtype);
$result = array();