diff --git a/build/lightdb/core/lightdb.php b/build/lightdb/core/lightdb.php index 3cf2a8f..7910be1 100644 --- a/build/lightdb/core/lightdb.php +++ b/build/lightdb/core/lightdb.php @@ -115,8 +115,8 @@ */ public function insert($key, $data){ /* (1) On vérifie que la clé est unique */ - if( array_key_exists($key, $this->index) ) - return true; + // if( array_key_exists($key, $this->index) ) + // return true; $key = (string) $key; diff --git a/build/service/CalendarExtractor.php b/build/service/CalendarExtractor.php index 44c9fe2..6ae8801 100644 --- a/build/service/CalendarExtractor.php +++ b/build/service/CalendarExtractor.php @@ -218,7 +218,7 @@ /* [4] Save db changes =========================================================*/ /* (1) Update data */ - $ldb->delete($this->d_uid); + // $ldb->delete($this->d_uid); $ldb->insert($this->d_uid, $d_db); /* (2) Close connection */