MDL-29030 add report management UI

This commit is contained in:
Petr Skoda
2011-11-06 12:51:48 +01:00
parent bb41c281e9
commit 4f6bba205d
4 changed files with 151 additions and 6 deletions
+10
View File
@@ -1654,3 +1654,13 @@ class plugintype_tool extends plugintype_base implements plugin_information {
return new moodle_url('/admin/tools.php', array('delete' => $this->name, 'sesskey' => sesskey()));
}
}
/**
* Class for admin tool plugins
*/
class plugintype_report extends plugintype_base implements plugin_information {
public function get_uninstall_url() {
return new moodle_url('/admin/reports.php', array('delete' => $this->name, 'sesskey' => sesskey()));
}
}