From: moodler Date: Thu, 4 Nov 2004 08:55:19 +0000 (+0000) Subject: Fixed missing prefix X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=df5da3fc88fa830aaaf25e2d400cd26f26e1e707;p=moodle.git Fixed missing prefix --- diff --git a/mod/lesson/db/mysql.php b/mod/lesson/db/mysql.php index a216274662..4adbc1e002 100644 --- a/mod/lesson/db/mysql.php +++ b/mod/lesson/db/mysql.php @@ -101,7 +101,7 @@ function lesson_upgrade($oldversion) { } if ($oldversion < 2004081700) { - execute_sql("CREATE TABLE `mdl_lesson_default` + execute_sql("CREATE TABLE `{$CFG->prefix}lesson_default` ( `id` int(10) unsigned NOT NULL auto_increment, `course` int(10) unsigned NOT NULL default '0', `practice` tinyint(3) unsigned NOT NULL default '0', @@ -150,4 +150,4 @@ function lesson_upgrade($oldversion) { return true; } -?> \ No newline at end of file +?>