config/Database.php
public function delete($name)
    {
        $path = explode('.', $name);
        $key = array_shift($path);

        if ($path) {
            if ($this->checkCache($key) && $this->cache[$key]->delete($path)) {
                return $this->updateRecord($key);
            }
            return false;
        }

        unset($this->cache[$key]);

        return $this->deleteRecord($key);
    }
public function delete($name)
    {
        $path = explode('.', $name);
        $key = array_shift($path);

        if ($path) {
            if ($this->checkCache($key) && $this->cache[$key]->delete($path)) {
                return $this->updateRecord($key);
            }
            return false;
        }

        unset($this->cache[$key]);

        return $this->deleteRecord($key);
    }
public function delete ( $ name ) { $ path = explode ( '.' , $ name ) ; $ key = array_shift ( $ path ) ; if ( $ path ) { if ( $ this -> checkCache ( $ key ) && $ this -> cache [ $ key ] -> delete ( $ path ) ) { return $ this -> updateRecord ( $ key ) ; } return false ; } unset ( $ this -> cache [ $ key ] ) ; return $ this -> deleteRecord ( $ key ) ; }
Delete a config

@param   string  $name

@return  boolean
Delete a config