mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
changed line 10 to: $index = "{$table}_{$field}_idx"; (bug 5315)
This commit is contained in:
parent
4f6a57d173
commit
2e2a27a9bc
@ -7,7 +7,7 @@ function hotpot_update_to_v2_1_16() {
|
||||
$length = 20;
|
||||
$field = 'name';
|
||||
$table = 'hotpot_questions';
|
||||
$index = "{$table}_{$name}_idx";
|
||||
$index = "{$table}_{$field}_idx";
|
||||
|
||||
// remove the index
|
||||
hotpot_db_delete_index("{$CFG->prefix}$table", $index);
|
||||
|
Loading…
x
Reference in New Issue
Block a user