Skip to content
Snippets Groups Projects
Commit 43781fe5 authored by Alexander Bias's avatar Alexander Bias
Browse files

Implement Privacy API

parent 09ef1237
No related branches found
No related tags found
No related merge requests found
...@@ -6,6 +6,7 @@ Changes ...@@ -6,6 +6,7 @@ Changes
### Unreleased ### Unreleased
* 2018-05-16 - Implement Privacy API.
* 2018-04-25 - Removed build_action_menu_from_navigation in core_renderer as MDL-58174 is integrated. * 2018-04-25 - Removed build_action_menu_from_navigation in core_renderer as MDL-58174 is integrated.
* 2018-04-25 - Fixed bug with accessing courses with guest login. Thanks to Benedikt Schneider for reporting and pointing to the solution. * 2018-04-25 - Fixed bug with accessing courses with guest login. Thanks to Benedikt Schneider for reporting and pointing to the solution.
......
<?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/>.
/**
* Theme Boost Campus - Privacy provider
*
* @package theme_boost_campus
* @copyright 2018 Alexander Bias, Ulm University <alexander.bias@uni-ulm.de>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
namespace theme_boost_campus\privacy;
defined('MOODLE_INTERNAL') || die();
/**
* Privacy Subsystem implementing null_provider.
*
* @package theme_boost_campus
* @copyright 2018 Alexander Bias, Ulm University <alexander.bias@uni-ulm.de>
* @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';
}
}
...@@ -191,3 +191,6 @@ $string['showhintcourseguestaccesslink'] = 'To have full access to the course, y ...@@ -191,3 +191,6 @@ $string['showhintcourseguestaccesslink'] = 'To have full access to the course, y
$string['showhintcoursehiddengeneral'] = 'This course is currently <strong>hidden</strong>. Only enrolled teachers can access this course when hidden.'; $string['showhintcoursehiddengeneral'] = 'This course is currently <strong>hidden</strong>. Only enrolled teachers can access this course when hidden.';
$string['showhintcoursehiddensettingslink'] = 'You can change the visibility in the <a href="{$a->url}">course settings</a>.'; $string['showhintcoursehiddensettingslink'] = 'You can change the visibility in the <a href="{$a->url}">course settings</a>.';
$string['switchroleto'] = 'Switch role to'; $string['switchroleto'] = 'Switch role to';
// PRIVACY.
$string['privacy:metadata'] = 'The Boost Campus theme does not store any personal data about any user.';
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
defined('MOODLE_INTERNAL') || die(); defined('MOODLE_INTERNAL') || die();
$plugin->component = 'theme_boost_campus'; $plugin->component = 'theme_boost_campus';
$plugin->version = 2018030500; $plugin->version = 2018051600;
$plugin->release = 'v3.4-r4'; $plugin->release = 'v3.4-r4';
$plugin->requires = 2017111300; $plugin->requires = 2017111300;
$plugin->maturity = MATURITY_STABLE; $plugin->maturity = MATURITY_STABLE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment