mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 16:04:25 +02:00
MDL-12565 : use the right table
This commit is contained in:
parent
dbf8c19cc5
commit
67e21b0e2b
@ -907,7 +907,7 @@ function tag_instance_table_cleanup() {
|
||||
FROM
|
||||
(SELECT sq2.*
|
||||
FROM {$CFG->prefix}tag_instance sq2
|
||||
LEFT JOIN {$CFG->prefix}{$type->itemtype} item
|
||||
LEFT JOIN {$CFG->prefix}tag item
|
||||
ON sq2.itemid = item.id
|
||||
WHERE item.id IS NULL
|
||||
AND sq2.itemtype = '{$type->itemtype}')
|
||||
|
Loading…
x
Reference in New Issue
Block a user