# This patch file was generated by NetBeans IDE
# This patch can be applied using context Tools: Apply Diff Patch action on respective folder.
# It uses platform neutral UTF-8 encoding.
# Above lines and this line are ignored by the patching process.
Index: moodle/mod/assignment/lib.php
--- moodle/mod/assignment/lib.php Base (1.492)
+++ moodle/mod/assignment/lib.php Locally Modified (Based On 1.492)
@@ -3555,8 +3555,7 @@
     global $CFG;
 
     $status = array();
-
-    foreach (get_plugin_list('mod/assignment/type') as $type=>$dir) {
+    foreach (get_plugin_list('assignment') as $type=>$dir) {
         require_once("$dir/assignment.class.php");
         $assignmentclass = "assignment_$type";
         $ass = new $assignmentclass();
