MDL-45348 report_eventlist: Removed duplicate list link in plugins > report.

I also fixed up a spelling mistake in the language pack (relatedobservers).
This commit is contained in:
Adrian Greeve
2014-05-01 11:12:39 +08:00
parent 83ddacfff7
commit ae63d3e11e
2 changed files with 4 additions and 1 deletions
@@ -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';
+3
View 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;
}