Skip to content

Commit 3d7b805

Browse files
author
David Monllao
committed
Merge branch 'MDL-61915-master' of git://github.com/cescobedo/moodle
2 parents 590c774 + 980e85c commit 3d7b805

File tree

22 files changed

+462
-0
lines changed

22 files changed

+462
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?php
2+
// This file is part of Moodle - http://moodle.org/
3+
//
4+
// Moodle 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+
// Moodle 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 Moodle. If not, see <http://www.gnu.org/licenses/>.
16+
/**
17+
* Privacy Subsystem implementation for enrol_category.
18+
*
19+
* @package enrol_category
20+
* @copyright 2018 Carlos Escobedo <carlos@moodle.com>
21+
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
22+
*/
23+
namespace enrol_category\privacy;
24+
defined('MOODLE_INTERNAL') || die();
25+
/**
26+
* Privacy Subsystem for enrol_category implementing null_provider.
27+
*
28+
* @copyright 2018 Carlos Escobedo <carlos@moodle.com>
29+
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
30+
*/
31+
class provider implements \core_privacy\local\metadata\null_provider {
32+
/**
33+
* Get the language string identifier with the component's language
34+
* file to explain why this plugin stores no data.
35+
*
36+
* @return string
37+
*/
38+
public static function get_reason() : string {
39+
return 'privacy:metadata';
40+
}
41+
}

enrol/category/lang/en/enrol_category.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@
2727
$string['enrolcategorysynctask'] = 'Category enrolment sync task';
2828
$string['pluginname'] = 'Category enrolments';
2929
$string['pluginname_desc'] = 'The category enrolments plugin synchronises any role assignments in the category context for roles with the capability enrol/category:synchronised allowed.';
30+
$string['privacy:metadata'] = 'The Category enrolments plugin does not store any personal data.';
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?php
2+
// This file is part of Moodle - http://moodle.org/
3+
//
4+
// Moodle 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+
// Moodle 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 Moodle. If not, see <http://www.gnu.org/licenses/>.
16+
/**
17+
* Privacy Subsystem implementation for enrol_cohort.
18+
*
19+
* @package enrol_cohort
20+
* @copyright 2018 Carlos Escobedo <carlos@moodle.com>
21+
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
22+
*/
23+
namespace enrol_cohort\privacy;
24+
defined('MOODLE_INTERNAL') || die();
25+
/**
26+
* Privacy Subsystem for enrol_cohort implementing null_provider.
27+
*
28+
* @copyright 2018 Carlos Escobedo <carlos@moodle.com>
29+
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
30+
*/
31+
class provider implements \core_privacy\local\metadata\null_provider {
32+
/**
33+
* Get the language string identifier with the component's language
34+
* file to explain why this plugin stores no data.
35+
*
36+
* @return string
37+
*/
38+
public static function get_reason() : string {
39+
return 'privacy:metadata';
40+
}
41+
}

enrol/cohort/lang/en/enrol_cohort.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,4 @@
3333
$string['pluginname_desc'] = 'Cohort enrolment plugin synchronises cohort members with course participants.';
3434
$string['status'] = 'Active';
3535
$string['creategroup'] = 'Create new group';
36+
$string['privacy:metadata'] = 'The Cohort sync enrolments plugin does not store any personal data.';
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?php
2+
// This file is part of Moodle - http://moodle.org/
3+
//
4+
// Moodle 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+
// Moodle 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 Moodle. If not, see <http://www.gnu.org/licenses/>.
16+
/**
17+
* Privacy Subsystem implementation for enrol_database.
18+
*
19+
* @package enrol_database
20+
* @copyright 2018 Carlos Escobedo <carlos@moodle.com>
21+
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
22+
*/
23+
namespace enrol_database\privacy;
24+
defined('MOODLE_INTERNAL') || die();
25+
/**
26+
* Privacy Subsystem for enrol_database implementing null_provider.
27+
*
28+
* @copyright 2018 Carlos Escobedo <carlos@moodle.com>
29+
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
30+
*/
31+
class provider implements \core_privacy\local\metadata\null_provider {
32+
/**
33+
* Get the language string identifier with the component's language
34+
* file to explain why this plugin stores no data.
35+
*
36+
* @return string
37+
*/
38+
public static function get_reason() : string {
39+
return 'privacy:metadata';
40+
}
41+
}

enrol/database/lang/en/enrol_database.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,4 @@
7373
$string['remoteuserfield_desc'] = 'The name of the field in the remote table that we are using to match entries in the user table.';
7474
$string['templatecourse'] = 'New course template';
7575
$string['templatecourse_desc'] = 'Optional: auto-created courses can copy their settings from a template course. Type here the shortname of the template course.';
76+
$string['privacy:metadata'] = 'The External database enrolments plugin does not store any personal data.';
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?php
2+
// This file is part of Moodle - http://moodle.org/
3+
//
4+
// Moodle 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+
// Moodle 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 Moodle. If not, see <http://www.gnu.org/licenses/>.
16+
/**
17+
* Privacy Subsystem implementation for enrol_flatfile.
18+
*
19+
* @package enrol_flatfile
20+
* @copyright 2018 Carlos Escobedo <carlos@moodle.com>
21+
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
22+
*/
23+
namespace enrol_flatfile\privacy;
24+
defined('MOODLE_INTERNAL') || die();
25+
/**
26+
* Privacy Subsystem for enrol_flatfile implementing null_provider.
27+
*
28+
* @copyright 2018 Carlos Escobedo <carlos@moodle.com>
29+
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
30+
*/
31+
class provider implements \core_privacy\local\metadata\null_provider {
32+
/**
33+
* Get the language string identifier with the component's language
34+
* file to explain why this plugin stores no data.
35+
*
36+
* @return string
37+
*/
38+
public static function get_reason() : string {
39+
return 'privacy:metadata';
40+
}
41+
}

enrol/flatfile/lang/en/enrol_flatfile.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,4 @@
6161
del, student, 17, CF101
6262
add, student, 21, CF101, 1091115000, 1091215000
6363
</pre>';
64+
$string['privacy:metadata'] = 'The Flat file (CSV) enrolments plugin does not store any personal data.';
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?php
2+
// This file is part of Moodle - http://moodle.org/
3+
//
4+
// Moodle 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+
// Moodle 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 Moodle. If not, see <http://www.gnu.org/licenses/>.
16+
/**
17+
* Privacy Subsystem implementation for enrol_guest.
18+
*
19+
* @package enrol_guest
20+
* @copyright 2018 Carlos Escobedo <carlos@moodle.com>
21+
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
22+
*/
23+
namespace enrol_guest\privacy;
24+
defined('MOODLE_INTERNAL') || die();
25+
/**
26+
* Privacy Subsystem for enrol_guest implementing null_provider.
27+
*
28+
* @copyright 2018 Carlos Escobedo <carlos@moodle.com>
29+
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
30+
*/
31+
class provider implements \core_privacy\local\metadata\null_provider {
32+
/**
33+
* Get the language string identifier with the component's language
34+
* file to explain why this plugin stores no data.
35+
*
36+
* @return string
37+
*/
38+
public static function get_reason() : string {
39+
return 'privacy:metadata';
40+
}
41+
}

enrol/guest/lang/en/enrol_guest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,4 @@
4343
$string['status_link'] = 'enrol/guest';
4444
$string['usepasswordpolicy'] = 'Use password policy';
4545
$string['usepasswordpolicy_desc'] = 'Use standard password policy for guest access passwords.';
46+
$string['privacy:metadata'] = 'The Guest access enrolments plugin does not store any personal data.';

0 commit comments

Comments
 (0)