MDL-61307 core: Define a new privacy component
This commit is contained in:
@@ -2072,6 +2072,7 @@ $string['userselectorpreserveselected'] = 'Keep selected users, even if they no
|
||||
$string['userselectorsearchanywhere'] = 'Match the search text anywhere in the displayed fields';
|
||||
$string['usersnew'] = 'New users';
|
||||
$string['usersnoaccesssince'] = 'Inactive for more than';
|
||||
$string['userpreferences'] = 'User preferences';
|
||||
$string['userswithfiles'] = 'Users with files';
|
||||
$string['useruploadtype'] = 'User upload type: {$a}';
|
||||
$string['userzones'] = 'User zones';
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
<?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/>.
|
||||
|
||||
/**
|
||||
* Strings for component 'privacy', language 'en', branch 'master'
|
||||
*
|
||||
* @package core_privacy
|
||||
* @copyright 2018 Andrew Nicols <[email protected]>
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
@@ -470,6 +470,7 @@ $cache = '.var_export($cache, true).';
|
||||
'plagiarism' => $CFG->dirroot.'/plagiarism',
|
||||
'plugin' => null,
|
||||
'portfolio' => $CFG->dirroot.'/portfolio',
|
||||
'privacy' => $CFG->dirroot . '/privacy',
|
||||
'publish' => $CFG->dirroot.'/course/publish',
|
||||
'question' => $CFG->dirroot.'/question',
|
||||
'rating' => $CFG->dirroot.'/rating',
|
||||
|
||||
@@ -36,7 +36,7 @@ class core_component_testcase extends advanced_testcase {
|
||||
* this is defined here to annoy devs that try to add more without any thinking,
|
||||
* always verify that it does not collide with any existing add-on modules and subplugins!!!
|
||||
*/
|
||||
const SUBSYSTEMCOUNT = 67;
|
||||
const SUBSYSTEMCOUNT = 68;
|
||||
|
||||
public function setUp() {
|
||||
$psr0namespaces = new ReflectionProperty('core_component', 'psr0namespaces');
|
||||
|
||||
@@ -93,6 +93,9 @@
|
||||
<testsuite name="core_course_testsuite">
|
||||
<directory suffix="_test.php">course/tests</directory>
|
||||
</testsuite>
|
||||
<testsuite name="core_privacy_testsuite">
|
||||
<directory suffix="_test.php">privacy/tests</directory>
|
||||
</testsuite>
|
||||
<testsuite name="core_question_testsuite">
|
||||
<directory suffix="_test.php">question/engine/tests</directory>
|
||||
<directory suffix="_test.php">question/tests</directory>
|
||||
|
||||
Reference in New Issue
Block a user