Skip to content

Commit b039e36

Browse files
author
David Monllao
committed
Merge branch 'MDL-61915-33' of git://github.com/cescobedo/moodle into MOODLE_33_STABLE
2 parents 11379b3 + 184c8dd commit b039e36

File tree

22 files changed

+463
-0
lines changed

22 files changed

+463
-0
lines changed
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() {
39+
return 'privacy:metadata';
40+
}
41+
}

enrol/category/lang/en/enrol_category.php

+1
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@
2626
$string['category:synchronised'] = 'Role assignments synchronised to course enrolment';
2727
$string['pluginname'] = 'Category enrolments';
2828
$string['pluginname_desc'] = 'The category enrolments plugin synchronises any role assignments in the category context for roles with the capability enrol/category:synchronised allowed.';
29+
$string['privacy:metadata'] = 'The Category enrolments plugin does not store any personal data.';
+41
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() {
39+
return 'privacy:metadata';
40+
}
41+
}

enrol/cohort/lang/en/enrol_cohort.php

+1
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@
3232
$string['pluginname_desc'] = 'Cohort enrolment plugin synchronises cohort members with course participants.';
3333
$string['status'] = 'Active';
3434
$string['creategroup'] = 'Create new group';
35+
$string['privacy:metadata'] = 'The Cohort sync enrolments plugin does not store any personal data.';
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() {
39+
return 'privacy:metadata';
40+
}
41+
}

enrol/database/lang/en/enrol_database.php

+1
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.';
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() {
39+
return 'privacy:metadata';
40+
}
41+
}

enrol/flatfile/lang/en/enrol_flatfile.php

+1
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.';
+41
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() {
39+
return 'privacy:metadata';
40+
}
41+
}

enrol/guest/lang/en/enrol_guest.php

+1
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.';
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_imsenterprise.
18+
*
19+
* @package enrol_imsenterprise
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_imsenterprise\privacy;
24+
defined('MOODLE_INTERNAL') || die();
25+
/**
26+
* Privacy Subsystem for enrol_imsenterprise 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() {
39+
return 'privacy:metadata';
40+
}
41+
}

enrol/imsenterprise/lang/en/enrol_imsenterprise.php

+1
Original file line numberDiff line numberDiff line change
@@ -92,3 +92,4 @@
9292
$string['roles'] = 'Roles';
9393
$string['ignore'] = 'Ignore';
9494
$string['importimsfile'] = 'Import IMS Enterprise file';
95+
$string['privacy:metadata'] = 'The IMS Enterprise file enrolments plugin does not store any personal data.';
+41
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_ldap.
18+
*
19+
* @package enrol_ldap
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_ldap\privacy;
24+
defined('MOODLE_INTERNAL') || die();
25+
/**
26+
* Privacy Subsystem for enrol_ldap 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() {
39+
return 'privacy:metadata';
40+
}
41+
}

enrol/ldap/lang/en/enrol_ldap.php

+1
Original file line numberDiff line numberDiff line change
@@ -128,3 +128,4 @@
128128
$string['user_type_key'] = 'User type';
129129
$string['version'] = 'The version of the LDAP protocol your server is using';
130130
$string['version_key'] = 'Version';
131+
$string['privacy:metadata'] = 'The LDAP enrolments plugin does not store any personal data.';
+41
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_manual.
18+
*
19+
* @package enrol_manual
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_manual\privacy;
24+
defined('MOODLE_INTERNAL') || die();
25+
/**
26+
* Privacy Subsystem for enrol_manual 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() {
39+
return 'privacy:metadata';
40+
}
41+
}

enrol/manual/lang/en/enrol_manual.php

+1
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,4 @@
7474
$string['wsnoinstance'] = 'Manual enrolment plugin instance doesn\'t exist or is disabled for the course (id = {$a->courseid})';
7575
$string['wsusercannotassign'] = 'You don\'t have the permission to assign this role ({$a->roleid}) to this user ({$a->userid}) in this course({$a->courseid}).';
7676
$string['manualpluginnotinstalled'] = 'The "Manual" plugin has not yet been installed';
77+
$string['privacy:metadata'] = 'The Manual enrolments plugin does not store any personal data.';

0 commit comments

Comments
 (0)