MDL-15136 full support for all plugins in plugin_supports() - fixed incorrect inline docs

This commit is contained in:
Petr Skoda
2010-07-03 19:06:50 +00:00
parent 190b387294
commit 6e7ddc697b
+1 -1
View File
@@ -7206,7 +7206,7 @@ function plugin_supports($type, $name, $feature, $default = NULL) {
// we need this special case because we support subplugins in modules,
// otherwise it would end up in infinite loop
if ($name === 'NEWMODULE') {
//somebody forgot to rename the module template or module not installed
//somebody forgot to rename the module template
return false;
}
if (file_exists("$CFG->dirroot/mod/$name/lib.php")) {