]> git.mjollnir.org Git - moodle.git/commitdiff
Added data module to list of allowed modules for the report.
authorvyshane <vyshane>
Thu, 9 Mar 2006 06:27:29 +0000 (06:27 +0000)
committervyshane <vyshane>
Thu, 9 Mar 2006 06:27:29 +0000 (06:27 +0000)
course/participation.php

index cfbc28bc697653992d2e95cf443f1df6338a9bd9..1d147c10fc7ee58581b84e83d6633201cffaf654 100644 (file)
@@ -48,7 +48,7 @@
 
     $allowedmodules = array('assignment','book','chat','choice','exercise','forum','glossary','hotpot',
                             'journal','lesson','questionnaire','quiz','resource','scorm',
-                            'survey','wiki','workshop'); // some don't make sense here - eg 'label'
+                            'survey','wiki','workshop', 'data'); // some don't make sense here - eg 'label'
 
     if (!$modules = get_records_sql('SELECT DISTINCT module,name FROM '.$CFG->prefix.'course_modules cm JOIN '.
                                     $CFG->prefix.'modules m ON cm.module = m.id WHERE course = '.$course->id)) {