MDL-14679 fixed some more $db's

This commit is contained in:
skodak
2008-05-31 22:18:41 +00:00
parent 98891b9348
commit fd0e6640cc
18 changed files with 29 additions and 33 deletions
+1 -1
View File
@@ -194,7 +194,7 @@ function my_file_get_contents($filename, $use_include_path = 0) {
// Read the records from the given file.
// Perform a simple field count check for each record.
function data_get_records_csv($filename, $fielddelimiter=',', $fieldenclosure="\n") {
global $db;
global $DB;
if (empty($fielddelimiter)) {
$fielddelimiter = ',';