Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0ee180
)
assignment MDL-24158 fixed call to get_plugin_list() which was causing a course reset...
author
Aparup Banerjee
<nebgor@gmail.com>
Mon, 20 Sep 2010 01:42:28 +0000
(
01:42
+0000)
committer
Aparup Banerjee
<nebgor@gmail.com>
Mon, 20 Sep 2010 01:42:28 +0000
(
01:42
+0000)
mod/assignment/lib.php
patch
|
blob
|
blame
|
history
diff --git
a/mod/assignment/lib.php
b/mod/assignment/lib.php
index
f7401ac
..
5b5cc61
100644
(file)
--- a/
mod/assignment/lib.php
+++ b/
mod/assignment/lib.php
@@
-3565,8
+3565,7
@@
function assignment_reset_userdata($data) {
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();