1 |
efrain |
1 |
<?php
|
|
|
2 |
// This file is part of eMailTest plugin for Moodle - https://moodle.org/
|
|
|
3 |
//
|
|
|
4 |
// eMailTest is free software: you can redistribute it and/or modify
|
|
|
5 |
// it under the terms of the GNU General Public License as published by
|
|
|
6 |
// the Free Software Foundation, either version 3 of the License, or
|
|
|
7 |
// (at your option) any later version.
|
|
|
8 |
//
|
|
|
9 |
// eMailTest is distributed in the hope that it will be useful,
|
|
|
10 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
11 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
12 |
// GNU General Public License for more details.
|
|
|
13 |
//
|
|
|
14 |
// You should have received a copy of the GNU General Public License
|
|
|
15 |
// along with eMailTest. If not, see <https://www.gnu.org/licenses/>.
|
|
|
16 |
|
|
|
17 |
/**
|
|
|
18 |
* Privacy Subsystem implementation for local_mailtest.
|
|
|
19 |
*
|
|
|
20 |
* @package local_mailtest
|
|
|
21 |
* @copyright 2015-2024 TNG Consulting Inc. - www.tngcosulting.ca
|
|
|
22 |
* @author Michael Milette
|
|
|
23 |
* @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
|
|
24 |
*/
|
|
|
25 |
|
|
|
26 |
namespace local_mailtest\privacy;
|
|
|
27 |
|
|
|
28 |
/**
|
|
|
29 |
* Privacy Subsystem for local_mailtest implementing null_provider.
|
|
|
30 |
*
|
|
|
31 |
* @copyright 2018 TNG Consulting Inc. <www.tngconsulting.ca>
|
|
|
32 |
* @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
|
|
33 |
*/
|
|
|
34 |
class provider implements \core_privacy\local\metadata\null_provider {
|
|
|
35 |
|
|
|
36 |
/**
|
|
|
37 |
* Get the language string identifier with the component's language
|
|
|
38 |
* file to explain why this plugin stores no data.
|
|
|
39 |
*
|
|
|
40 |
* @return string
|
|
|
41 |
*/
|
|
|
42 |
public static function get_reason(): string {
|
|
|
43 |
return 'privacy:metadata';
|
|
|
44 |
}
|
|
|
45 |
}
|