MDL-50576 mod_forum: Correct use of movedicussions cap when posting This is a partial...
[moodle.git] / lib / pluginlib.php
blob6716a069987b3bccdf61f9e1e5fb0f3ae97c2a8e
1 <?php
3 // This file is part of Moodle - http://moodle.org/
4 //
5 // Moodle is free software: you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License as published by
7 // the Free Software Foundation, either version 3 of the License, or
8 // (at your option) any later version.
9 //
10 // Moodle is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
15 // You should have received a copy of the GNU General Public License
16 // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
18 /**
19 * Defines classes used for plugins management
21 * This library provides a unified interface to various plugin types in
22 * Moodle. It is mainly used by the plugins management admin page and the
23 * plugins check page during the upgrade.
25 * @package core
26 * @copyright 2011 David Mudrak <david@moodle.com>
27 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
30 defined('MOODLE_INTERNAL') || die();
33 /**
34 * @deprecated since 2.6 - use core_plugin_manager instead.
36 class plugin_manager extends core_plugin_manager {
37 // BC only.
38 public static function instance() {
39 return core_plugin_manager::instance();
43 /**
44 * @deprecated since 2.6 - use \core\plugininfo\base instead.
46 class plugininfo_base extends \core\plugininfo\base {
47 // BC only.