mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
Er, unfinished code while upgrading log_display
This commit is contained in:
parent
212f17dd08
commit
05a6c03ed2
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ function main_upgrade($oldversion=0) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($oldversion < 2002122301) {
|
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)') ");
|
execute_sql("INSERT INTO {$CFG->prefix}log_display VALUES ('user', 'view', 'user', 'CONCAT(firstname,' ',lastname)') ");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue