Permalink
Browse files

Fixed call to insert_record for Moodle 2.0 compatibility.

  • Loading branch information...
1 parent 0728b65 commit 4954f5e387a3c3138627aa7a86ab4e9cdf6f22b9 Panopto, Inc committed with Aug 4, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/panopto_data.php
View
@@ -221,7 +221,7 @@ static function set_panopto_course_id($moodle_course_id, $sessiongroup_id)
{
$row = (object) array('moodleid' => $moodle_course_id, 'panopto_id' => $sessiongroup_id);
- return insert_record('block_panopto_foldermap', $row);
+ return $DB->insert_record('block_panopto_foldermap', $row);
}
}

0 comments on commit 4954f5e

Please sign in to comment.