diff --git a/trigger/specificdate/classes/privacy/provider.php b/trigger/specificdate/classes/privacy/provider.php new file mode 100644 index 0000000000000000000000000000000000000000..72e670ced0728cc4b4cef5e7d1f5734ef76e3065 --- /dev/null +++ b/trigger/specificdate/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 lifecycletrigger_specificdate\privacy; + +use core_privacy\local\metadata\null_provider; + +/** + * Privacy subsystem implementation for lifecycletrigger_specificdate. + * + * @package lifecycletrigger_specificdate + * @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/trigger/specificdate/lang/de/lifecycletrigger_specificdate.php b/trigger/specificdate/lang/de/lifecycletrigger_specificdate.php index 8e64a25aac0ebf79e53070b9b9e247b5d9bf7a37..7eab683684dde2ee6baeea54e1c05edfd794a166 100644 --- a/trigger/specificdate/lang/de/lifecycletrigger_specificdate.php +++ b/trigger/specificdate/lang/de/lifecycletrigger_specificdate.php @@ -23,6 +23,7 @@ */ $string['pluginname'] = 'Bestimmtes Datum - Trigger'; +$string['privacy:metadata'] = 'Dieses Subplugin speichert keine persönlichen Daten.'; $string['dates'] = 'Daten, an denen der Workflow ausgeführt werden soll.'; $string['dates_desc'] = 'Ein Datum pro Zeile in dem Format Tag.Monat'; diff --git a/trigger/specificdate/lang/en/lifecycletrigger_specificdate.php b/trigger/specificdate/lang/en/lifecycletrigger_specificdate.php index 1529ac202ab7ff06356e76b522826d5017345e0a..9b7113e8961b100cf03e94fc04f3b1315ee33036 100644 --- a/trigger/specificdate/lang/en/lifecycletrigger_specificdate.php +++ b/trigger/specificdate/lang/en/lifecycletrigger_specificdate.php @@ -23,6 +23,7 @@ */ $string['pluginname'] = 'Specific date trigger'; +$string['privacy:metadata'] = 'This subplugin does not store any personal data.'; $string['dates'] = 'Dates at which the workflow should run.'; $string['dates_desc'] = 'Write one date per line with the format Day.Month';