diff --git a/step/duplicate/classes/privacy/provider.php b/step/duplicate/classes/privacy/provider.php new file mode 100644 index 0000000000000000000000000000000000000000..136ee7cacfe34f430a6abcbd12052865fa666886 --- /dev/null +++ b/step/duplicate/classes/privacy/provider.php @@ -0,0 +1,40 @@ +<?php +// This file is part of Moodle - http://moodle.org/ +// +// Moodle is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Moodle is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with Moodle. If not, see <http://www.gnu.org/licenses/>. + +namespace lifecyclestep_duplicate\privacy; + +use core_privacy\local\metadata\null_provider; + +/** + * Privacy subsystem implementation for lifecyclestep_duplicate. + * + * @package lifecyclestep_duplicate + * @copyright 2022 ISB Bayern + * @author Philipp Memmel + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +class provider implements null_provider { + + /** + * Get the language string identifier with the component's language + * file to explain why this plugin stores no data. + * + * @return string the reason + */ + public static function get_reason() : string { + return 'privacy:metadata'; + } +} diff --git a/step/duplicate/lang/de/lifecyclestep_duplicate.php b/step/duplicate/lang/de/lifecyclestep_duplicate.php index 1ba8f7c1da8398ca2cd171980de41c356291125d..39f01957766c1f106aea2fd21a5f95ea26b7dd9a 100644 --- a/step/duplicate/lang/de/lifecyclestep_duplicate.php +++ b/step/duplicate/lang/de/lifecyclestep_duplicate.php @@ -23,6 +23,7 @@ */ $string['pluginname'] = 'Kurs-Duplizieren-Schritt'; +$string['privacy:metadata'] = 'Dieses Subplugin speichert keine persönlichen Daten.'; $string['duplicate_form'] = 'Daten eingeben'; diff --git a/step/duplicate/lang/en/lifecyclestep_duplicate.php b/step/duplicate/lang/en/lifecyclestep_duplicate.php index 4639947599ce16c11da31cdd520f9a2d7a9951c0..b71b5a1519ba529be82d4fa1777b582817356540 100644 --- a/step/duplicate/lang/en/lifecyclestep_duplicate.php +++ b/step/duplicate/lang/en/lifecyclestep_duplicate.php @@ -23,6 +23,7 @@ */ $string['pluginname'] = 'Duplicate step'; +$string['privacy:metadata'] = 'This subplugin does not store any personal data.'; $string['duplicate_form'] = 'Enter data';