Skip to content

Commit

Permalink
Add GDPR privacy files
Browse files Browse the repository at this point in the history
  • Loading branch information
Syxton committed May 10, 2018
1 parent 07c42f8 commit 81e882e
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 2 deletions.
44 changes: 44 additions & 0 deletions classes/privacy/provider.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?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/>.
/**
* Privacy Subsystem implementation for tinymce_sketch.
*
* @package tinymce_sketch
* @copyright 2018 Matt Davidson <[email protected]>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

namespace tinymce_sketch\privacy;

defined('MOODLE_INTERNAL') || die();

/**
* Privacy Subsystem for tinymce_sketch implementing null_provider.
*
* @copyright 2018 Matt Davidson <[email protected]>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class provider implements \core_privacy\local\metadata\null_provider {
/**
* Get the language string identifier with the component's language
* file to explain why this plugin stores no data.
*
* @return string
*/
public static function get_reason() : string {
return 'privacy:metadata';
}
}
1 change: 1 addition & 0 deletions lang/en/tinymce_sketch.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
*/

$string['pluginname'] = 'Sketch';
$string['privacy:metadata'] = 'The Sketch plugin does not save or export user data.';
$string['sketchtitle'] = 'Sketch and Save';
$string['sketch_description'] = 'Quick sketch in Moodle';
$string['sketch_long_description'] = 'Draw and edit images inside any editor in Moodle';
Expand Down
4 changes: 2 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@

defined('MOODLE_INTERNAL') || die();

$plugin->version = 2017091200; // The current plugin version (Date: YYYYMMDDXX).
$plugin->release = '1';
$plugin->version = 2018051000; // The current plugin version (Date: YYYYMMDDXX).
$plugin->release = '1.1';
$plugin->requires = 2015111600; // Requires this Moodle version.
$plugin->component = 'tinymce_sketch';
$plugin->maturity = MATURITY_STABLE;

0 comments on commit 81e882e

Please sign in to comment.