Skip to content

Commit

Permalink
MDL-47983 tool_monitor: Removing only-for-admins restriction
Browse files Browse the repository at this point in the history
  • Loading branch information
David Monllao committed Nov 3, 2014
1 parent 9ebee5d commit 5cfaaf2
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions admin/tool/monitor/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
*/
defined('MOODLE_INTERNAL') || die;

if ($hassiteconfig) {

// Manage rules page.
$url = new moodle_url('/admin/tool/monitor/managerules.php', array('courseid' => 0));
$temp = new admin_externalpage('toolmonitorrules', get_string('managerules', 'tool_monitor'), $url,
'tool/monitor:managerules');
$ADMIN->add('reports', $temp);
}
// Manage rules page.
$temp = new admin_externalpage(
'toolmonitorrules',
get_string('managerules', 'tool_monitor'),
new moodle_url('/admin/tool/monitor/managerules.php', array('courseid' => 0)),
'tool/monitor:managerules'
);
$ADMIN->add('reports', $temp);

0 comments on commit 5cfaaf2

Please sign in to comment.