MDL-45348 report_eventlist: Removed duplicate list link in plugins > report.
authorAdrian Greeve <adrian@moodle.com>
Thu, 1 May 2014 01:27:10 +0000 (09:27 +0800)
committerAdrian Greeve <adrian@moodle.com>
Thu, 1 May 2014 03:12:39 +0000 (11:12 +0800)
I also fixed up a spelling mistake in the language pack (relatedobservers).

report/eventlist/lang/en/report_eventlist.php
report/eventlist/settings.php

index cd82c8b..dc8ffb9 100644 (file)
@@ -50,7 +50,7 @@ $string['parentevent'] = 'Parent Event';
 $string['participating'] = 'Participating';
 $string['pluginname'] = 'Events list';
 $string['read'] = 'read';
-$string['relatedobservers'] = 'Plugins observering this event';
+$string['relatedobservers'] = 'Plugins observing this event';
 $string['since'] = 'Since';
 $string['teaching'] = 'Teaching';
 $string['typedeclaration'] = 'Other event parameters';
index f8c1686..cd3233d 100644 (file)
@@ -27,4 +27,7 @@ defined('MOODLE_INTERNAL') || die();
 if ($hassiteconfig) {
     $url = $CFG->wwwroot . '/report/eventlist/index.php';
     $ADMIN->add('reports', new admin_externalpage('reporteventlists', get_string('pluginname', 'report_eventlist'), $url));
+
+    // No report settings.
+    $settings = null;
 }