Skip to content

Commit

Permalink
Add privacy provider information
Browse files Browse the repository at this point in the history
This is a null provider
  • Loading branch information
abgreeve committed Oct 23, 2023
1 parent 59ea014 commit f0c01ec
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
30 changes: 30 additions & 0 deletions classes/privacy/provider.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?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 tiny_stash\privacy;

/**
* Privacy Subsystem implementation for the stash plugin for TinyMCE.
*
* @package tiny_stash
* @copyright 2023 Adrian Greeve <[email protected]>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class provider implements \core_privacy\local\metadata\null_provider {
public static function get_reason(): string {
return 'privacy:metadata';
}
}
1 change: 1 addition & 0 deletions lang/en/tiny_stash.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
$string['notrades'] = 'You currently have no trades created';
$string['pickup'] = 'Pick up!';
$string['pluginname'] = 'Tiny stash';
$string['privacy:metadata'] = 'This plugin stores no user data';
$string['snippetinserter'] = 'Snippet inserter';
$string['supplies'] = 'Supplies';
$string['tradehelp'] = 'Trades are a widget that allows students to hand in items in exchange for something else.';
Expand Down

0 comments on commit f0c01ec

Please sign in to comment.