mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Fixes wildcard exception occurence on deleting resources.
This commit is contained in:
parent
1b4bb51edb
commit
5c8f580358
@ -274,7 +274,7 @@ function resource_delete($info, $itemtype) {
|
||||
*/
|
||||
function resource_db_names() {
|
||||
//[primary id], [table name], [time created field name], [time modified field name], [additional where conditions for sql]
|
||||
return array(array('id', 'resource', 'timemodified', 'timemodified', '*', " (alltext != '' AND alltext != ' ' AND alltext != ' ' AND TYPE != 'file') OR TYPE = 'file' "));
|
||||
return array(array('id', 'resource', 'timemodified', 'timemodified', 'any', " (alltext != '' AND alltext != ' ' AND alltext != ' ' AND TYPE != 'file') OR TYPE = 'file' "));
|
||||
} //resource_db_names
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user