No more lightdb:delete v2
This commit is contained in:
parent
229e4cc037
commit
33f0e967bb
|
@ -114,9 +114,11 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public function insert($key, $data){
|
public function insert($key, $data){
|
||||||
|
$already_line = $this->line;
|
||||||
|
|
||||||
/* (1) On vérifie que la clé est unique */
|
/* (1) On vérifie que la clé est unique */
|
||||||
// if( array_key_exists($key, $this->index) )
|
if( !array_key_exists($key, $this->index) ){
|
||||||
// return true;
|
$already_line = $this->index[$key]['line'];
|
||||||
|
|
||||||
$key = (string) $key;
|
$key = (string) $key;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue