// Get the file contents
try {
$infoArray = $this->getDataArrayFromFile($fqfn);
- } catch (FileIoException $e) {
+ } catch (FileNotFoundException $e) {
// Not found, so ignore it here
}
* @return void
*/
private function updateTableInfoFile (StoreableCriteria $dataSetInstance) {
- // "Cache" table name
- $tableName = $dataSetInstance->getTableName();
-
// Create FQFN for creating the table information file
$fqfn = $this->generateFqfnFromDataSet($dataSetInstance, 'info');
$this->tableInfo[$tableName]['last_updated'] = time();
// Write the data to the file
- $this->writeDataArrayToFqfn($fqfn, $this->tableInfo[$tableName]);
+ $this->writeDataArrayToFqfn($fqfn, $this->tableInfo[$dataSetInstance->getTableName()]);
}
/**
} // END - if
// Count this row up
- /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('DATABASE: dataFile=' . $dataFile . ',getFileExtension()=' . $this->getFileExtension() . ' - COUNTED!');
+ //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('DATABASE: dataFile=' . $dataFile . ',getFileExtension()=' . $this->getFileExtension() . ' - COUNTED!');
$count++;
} // END - while
} catch (FrameworkException $e) {