Show
Ignore:
Timestamp:
10/21/08 19:12:21 (17 months ago)
Author:
jwage
Message:

[1.0, 1.1] fixes #1568

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/1.0/lib/Doctrine/Data/Import.php

    r5119 r5124  
    103103     * @return void 
    104104     */ 
    105     public function doImport() 
     105    public function doImport($append = false) 
    106106    { 
    107107        $array = $this->doParsing(); 
     108         
     109        if ( ! $append) { 
     110            $this->purge(array_reverse(array_keys($array))); 
     111        } 
     112         
    108113        $this->_loadData($array); 
    109114    }