diff --git a/grade/import/csv/classes/privacy/provider.php b/grade/import/csv/classes/privacy/provider.php new file mode 100644 index 00000000000..8b230fc1701 --- /dev/null +++ b/grade/import/csv/classes/privacy/provider.php @@ -0,0 +1,46 @@ +. + +/** + * Privacy Subsystem implementation for gradeimport_csv. + * + * @package gradeimport_csv + * @copyright 2018 Sara Arjona + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +namespace gradeimport_csv\privacy; + +defined('MOODLE_INTERNAL') || die(); + +/** + * Privacy Subsystem for gradeimport_csv implementing null_provider. + * + * @copyright 2018 Sara Arjona + * @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'; + } +} diff --git a/grade/import/csv/lang/en/gradeimport_csv.php b/grade/import/csv/lang/en/gradeimport_csv.php index 18c1784f9be..3e2a2090bb8 100644 --- a/grade/import/csv/lang/en/gradeimport_csv.php +++ b/grade/import/csv/lang/en/gradeimport_csv.php @@ -25,3 +25,4 @@ $string['csv:view'] = 'Import grades from CSV'; $string['pluginname'] = 'CSV file'; +$string['privacy:metadata'] = 'The import grades from CSV plugin does not store any personal data.';