Merge branch 'wip-MDL-55494-master' of git://github.com/marinaglancy/moodle
[moodle.git] / report / eventlist / classes / list_generator.php
index 5ccb71c..cce411f 100644 (file)
@@ -197,7 +197,7 @@ class report_eventlist_list_generator {
                     if (method_exists($plugineventname, 'get_static_info')) {
                         if ($detail) {
                             $ref = new \ReflectionClass($plugineventname);
-                            if (!$ref->isAbstract() && $plugin != 'legacy') {
+                            if (!$ref->isAbstract() && $plugintype . '_' . $plugin !== 'logstore_legacy') {
                                 $noncorepluginlist = self::format_data($noncorepluginlist, $plugineventname);
                             }
                         } else {