From: moodler Date: Thu, 26 Dec 2002 17:02:45 +0000 (+0000) Subject: Er, unfinished code while upgrading log_display X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=05a6c03ed26a7ee5487b4c51357c3939bc2d52a2;p=moodle.git Er, unfinished code while upgrading log_display --- diff --git a/lib/db/mysql.php b/lib/db/mysql.php index aa892ab8a6..96b4cdeafc 100644 --- a/lib/db/mysql.php +++ b/lib/db/mysql.php @@ -226,7 +226,7 @@ function main_upgrade($oldversion=0) { } if ($oldversion < 2002122301) { - if (! record_exists_select("log_display", "", "user", "", "view")) { + if (! record_exists("log_display", "module", "user", "action", "view")) { execute_sql("INSERT INTO {$CFG->prefix}log_display VALUES ('user', 'view', 'user', 'CONCAT(firstname,' ',lastname)') "); } }