diff --git a/trigger/startdatedelay/classes/privacy/provider.php b/trigger/startdatedelay/classes/privacy/provider.php new file mode 100644 index 0000000000000000000000000000000000000000..f994ae06db05164a8662075bce195fb16f5d5f17 --- /dev/null +++ b/trigger/startdatedelay/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_startdatedelay\privacy; + +use core_privacy\local\metadata\null_provider; + +/** + * Privacy subsystem implementation for lifecycletrigger_startdatedelay. + * + * @package lifecycletrigger_startdatedelay + * @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/startdatedelay/lang/de/lifecycletrigger_startdatedelay.php b/trigger/startdatedelay/lang/de/lifecycletrigger_startdatedelay.php index 7f92b7c8bde043dced9656728bf8ffa3631a6bad..1be8ecc179de3be1691a45d6dc94382b766a1269 100644 --- a/trigger/startdatedelay/lang/de/lifecycletrigger_startdatedelay.php +++ b/trigger/startdatedelay/lang/de/lifecycletrigger_startdatedelay.php @@ -23,6 +23,7 @@ */ $string['pluginname'] = 'Startdatumsabstand - Trigger'; +$string['privacy:metadata'] = 'Dieses Subplugin speichert keine persönlichen Daten.'; $string['delay'] = 'Zeit seit Kursstartdatum, bis ein Prozess gestartet wird'; $string['delay_help'] = 'Der Trigger wird ausgeführt, falls die Zeit, die seit dem Start des Kurses vergangen ist, größer ist, als der angegebene Zeitraum.'; diff --git a/trigger/startdatedelay/lang/en/lifecycletrigger_startdatedelay.php b/trigger/startdatedelay/lang/en/lifecycletrigger_startdatedelay.php index 93d29d534db99d81277cffd4a7ce68981bf11abc..ba6f77df0c21956f1deb48ce9ae01e7324a1eb87 100644 --- a/trigger/startdatedelay/lang/en/lifecycletrigger_startdatedelay.php +++ b/trigger/startdatedelay/lang/en/lifecycletrigger_startdatedelay.php @@ -23,6 +23,7 @@ */ $string['pluginname'] = 'Start date delay trigger'; +$string['privacy:metadata'] = 'This subplugin does not store any personal data.'; $string['delay'] = 'Delay from start of course until starting a process'; $string['delay_help'] = 'The trigger will be invoked if the time passed since the course has started is longer than this delay.';