diff --git a/admin/registration/classes/privacy/provider.php b/admin/registration/classes/privacy/provider.php deleted file mode 100644 index c1c4ea48ad2..00000000000 --- a/admin/registration/classes/privacy/provider.php +++ /dev/null @@ -1,41 +0,0 @@ -. -/** - * Privacy Subsystem implementation for core_register. - * - * @package core_register - * @copyright 2018 Carlos Escobedo - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ -namespace core_register\privacy; -defined('MOODLE_INTERNAL') || die(); -/** - * Privacy Subsystem for core_register implementing null_provider. - * - * @copyright 2018 Carlos Escobedo - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ -class provider implements \core_privacy\local\metadata\null_provider { - /** - * Get the language string identifier with the component's language - * file to explain why this plugin stores no data. - * - * @return string - */ - public static function get_reason() : string { - return 'privacy:metadata'; - } -} \ No newline at end of file diff --git a/lang/en/register.php b/lang/en/register.php deleted file mode 100644 index 36d02655cc5..00000000000 --- a/lang/en/register.php +++ /dev/null @@ -1,23 +0,0 @@ -. -/** - * Strings for core_register. - * - * @package core_register - * @copyright 2018 Carlos Escobedo - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ -$string['privacy:metadata'] = 'The Register plugin does not store any personal data.'; diff --git a/lib/classes/component.php b/lib/classes/component.php index ab9656ce15a..9f32657d5b9 100644 --- a/lib/classes/component.php +++ b/lib/classes/component.php @@ -471,10 +471,8 @@ $cache = '.var_export($cache, true).'; 'plugin' => null, 'portfolio' => $CFG->dirroot.'/portfolio', 'privacy' => $CFG->dirroot . '/privacy', - 'publish' => $CFG->dirroot.'/course/publish', 'question' => $CFG->dirroot.'/question', 'rating' => $CFG->dirroot.'/rating', - 'register' => $CFG->dirroot.'/'.$CFG->admin.'/registration', // Broken badly if $CFG->admin changed. 'repository' => $CFG->dirroot.'/repository', 'rss' => $CFG->dirroot.'/rss', 'role' => $CFG->dirroot.'/'.$CFG->admin.'/roles', diff --git a/lib/tests/component_test.php b/lib/tests/component_test.php index dfe2ad6b2ea..3e3bd9640f2 100644 --- a/lib/tests/component_test.php +++ b/lib/tests/component_test.php @@ -36,7 +36,7 @@ class core_component_testcase extends advanced_testcase { * this is defined here to annoy devs that try to add more without any thinking, * always verify that it does not collide with any existing add-on modules and subplugins!!! */ - const SUBSYSTEMCOUNT = 68; + const SUBSYSTEMCOUNT = 66; public function setUp() { $psr0namespaces = new ReflectionProperty('core_component', 'psr0namespaces');