Skip to content
Snippets Groups Projects
Commit abf339a5 authored by Tim Steiner's avatar Tim Steiner
Browse files

Fix to the course data model.

parent 4911b645
No related branches found
No related tags found
No related merge requests found
...@@ -1203,6 +1203,11 @@ class Courses_CourseModel extends Unl_Model ...@@ -1203,6 +1203,11 @@ class Courses_CourseModel extends Unl_Model
$db->query('DROP TABLE creqCourseDetailsUpdate'); $db->query('DROP TABLE creqCourseDetailsUpdate');
// Update the courseAceRecertifications table
$sql = 'CREATE TEMPORARY TABLE creqCourseAceRecertificationsUpdate '
. 'SELECT * FROM creqCourseAceRecertifications LIMIT 0';
$db->query($sql);
$sql = 'INSERT INTO creqCourseAceRecertificationsUpdate VALUES '; $sql = 'INSERT INTO creqCourseAceRecertificationsUpdate VALUES ';
$sqlParts = array(); $sqlParts = array();
foreach ($models as $model) { foreach ($models as $model) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment