diff --git a/dev/CsvBulkLoader.php b/dev/CsvBulkLoader.php index 5e8022a98..4a7ee4d31 100644 --- a/dev/CsvBulkLoader.php +++ b/dev/CsvBulkLoader.php @@ -32,6 +32,13 @@ class CsvBulkLoader extends BulkLoader { */ public $hasHeaderRow = true; + /** + * @inheritDoc + */ + public function preview($filepath) { + return $this->processAll($filepath, true); + } + protected function processAll($filepath, $preview = false) { $results = new BulkLoader_Result();