From bd135ef579a81483668c917c73ba5c9ad992fdde Mon Sep 17 00:00:00 2001 From: Mark Nelson Date: Mon, 16 Dec 2019 20:39:08 +0100 Subject: [PATCH] Define subplugins.json (#312) --- db/subplugins.json | 5 +++++ db/subplugins.php | 27 --------------------------- 2 files changed, 5 insertions(+), 27 deletions(-) create mode 100644 db/subplugins.json delete mode 100644 db/subplugins.php diff --git a/db/subplugins.json b/db/subplugins.json new file mode 100644 index 0000000..7ce4aca --- /dev/null +++ b/db/subplugins.json @@ -0,0 +1,5 @@ +{ + "plugintypes": { + "customcertelement": "mod\/customcert\/element" + } +} diff --git a/db/subplugins.php b/db/subplugins.php deleted file mode 100644 index 1cd6b34..0000000 --- a/db/subplugins.php +++ /dev/null @@ -1,27 +0,0 @@ -. - -/** - * Definition of sub-plugins. - * - * @package mod_customcert - * @copyright 2013 Mark Nelson - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -defined('MOODLE_INTERNAL') || die(); - -$subplugins = array('customcertelement' => 'mod/customcert/element');