Merge branch 'MDL-37078-master' of git://github.com/sammarshallou/moodle

This commit is contained in:
Dan Poltawski 2012-12-17 11:36:57 +08:00
commit 06ae410844
2 changed files with 4 additions and 4 deletions

View file

@ -942,7 +942,7 @@ abstract class condition_info_base {
if (empty($modinfo->cms[$cmid])) {
global $PAGE;
if (isset($PAGE) && strpos($PAGE->pagetype, 'course-view-')===0) {
debugging("Warning: activity {$this->cm->id} '{$this->cm->name}' has condition " .
debugging("Warning: activity {$this->item->id} '{$this->item->name}' has condition " .
"on deleted activity $cmid (to get rid of this message, edit the named activity)");
}
continue;