Skip to content

Commit

Permalink
MDL-61899 tool_dataprivacy: Removing unnecessary dependencies
Browse files Browse the repository at this point in the history
Includes MDL-61489
  • Loading branch information
dmonllao authored and stronk7 committed Apr 18, 2018
1 parent c2aad21 commit aaae3c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* Data registry renderable.
* Contains the data registry compliance renderable.
*
* @package tool_dataprivacy
* @copyright 2018 David Monllao
* @copyright 2018 Adrian Greeve
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
namespace tool_dataprivacy\output;
Expand All @@ -28,10 +28,6 @@
use renderer_base;
use templatable;

require_once($CFG->libdir . '/coursecatlib.php');
require_once($CFG->dirroot . '/' . $CFG->admin . '/tool/dataprivacy/lib.php');
require_once($CFG->libdir . '/blocklib.php');

/**
* Class containing the data registry compliance renderable
*
Expand Down
2 changes: 0 additions & 2 deletions admin/tool/dataprivacy/lang/en/tool_dataprivacy.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,7 @@
$string['dataprivacy:makedatarequestsforchildren'] = 'Make data requests for children';
$string['dataprivacy:managedatarequests'] = 'Manage data requests';
$string['dataprivacy:managedataregistry'] = 'Manage data registry';
$string['dataprivacysettings'] = 'Data privacy settings';
$string['dataregistry'] = 'Data registry';
$string['dataregistrysetup'] = 'Settings';
$string['datarequestemailsubject'] = 'Data request: {$a}';
$string['datarequests'] = 'Data requests';
$string['daterequested'] = 'Date requested';
Expand Down

0 comments on commit aaae3c8

Please sign in to comment.