From: michaelpenne Date: Fri, 28 Jan 2005 19:31:41 +0000 (+0000) Subject: fixed some prefixes, not sure how this didnt get noticed before ;) X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=d9ef9b836d4f36e96084e21a0531b3feaa710f2f;p=moodle.git fixed some prefixes, not sure how this didnt get noticed before ;) --- diff --git a/mod/lesson/db/mysql.php b/mod/lesson/db/mysql.php index 2d5232c35d..0a4f6f738d 100644 --- a/mod/lesson/db/mysql.php +++ b/mod/lesson/db/mysql.php @@ -42,7 +42,7 @@ function lesson_upgrade($oldversion) { // CDC-FLAG if ($oldversion < 2004072100) { - execute_sql(" create table mdl_lesson_high_scores + execute_sql(" create table ".$CFG->prefix."lesson_high_scores ( id int(10) unsigned not null auto_increment, lessonid int(10) unsigned not null, userid int(10) unsigned not null, @@ -51,7 +51,7 @@ function lesson_upgrade($oldversion) { PRIMARY KEY (`id`) )"); - execute_sql(" create table mdl_lesson_branch + execute_sql(" create table ".$CFG->prefix."lesson_branch ( id int(10) unsigned not null auto_increment, lessonid int(10) unsigned not null, userid int(10) unsigned not null, @@ -63,7 +63,7 @@ function lesson_upgrade($oldversion) { )"); - execute_sql(" create table mdl_lesson_timer + execute_sql(" create table ".$CFG->prefix."lesson_timer ( id int(10) unsigned not null auto_increment, lessonid int(10) unsigned not null, userid int(10) unsigned not null,