took out some debug code for koen

This commit is contained in:
toyomoyo 2006-03-08 06:57:53 +00:00
parent ffa5b35f6d
commit 5790c8998a

View File

@ -293,9 +293,7 @@ function db_migrate2utf8(){ //Eloy: Perhaps some type of limit parameter here
$SQL = 'SELECT * FROM '.$CFG->prefix.$dbtablename.' ORDER BY id ASC '.sql_paging_limit($counter, $recordsetsize);
if ($records = get_records_sql($SQL)) {
foreach ($records as $record) {
if ($debug) {
print_object($record);
}
//if we are up this far, either no crash, or crash with same table, field name.
if ($crash){
if ($crash->record != $record->id) { //might set to < just in case record is deleted