From 1f23259b58deb66f80c53c04fcba860f6bd87387 Mon Sep 17 00:00:00 2001 From: evgen-d Date: Thu, 23 Oct 2014 10:30:33 +0400 Subject: [PATCH] del ADbConn --- ArangoDbConnection.php | 19 ------------------- Connection.php | 2 +- 2 files changed, 1 insertion(+), 20 deletions(-) delete mode 100644 ArangoDbConnection.php diff --git a/ArangoDbConnection.php b/ArangoDbConnection.php deleted file mode 100644 index 26c79f0..0000000 --- a/ArangoDbConnection.php +++ /dev/null @@ -1,19 +0,0 @@ -getOption(ConnectionOptions::OPTION_CHECK_UTF8_CONFORM) === true) { - self::check_encoding($data); - } - - $response = json_encode($data, $options | JSON_FORCE_OBJECT); - - return $response; - } -} diff --git a/Connection.php b/Connection.php index f806ba3..e1dde48 100644 --- a/Connection.php +++ b/Connection.php @@ -51,7 +51,7 @@ class Connection extends Object try { Yii::info($token, 'devgroup\arangodb\Connection::open'); Yii::beginProfile($token, 'devgroup\arangodb\Connection::open'); - $this->connection = new ArangoDbConnection($this->connectionOptions); + $this->connection = new \triagens\ArangoDb\Connection($this->connectionOptions); $this->collectionHandler = new CollectionHandler($this->connection); $this->documentHandler = new DocumentHandler($this->connection); Yii::endProfile($token, 'devgroup\arangodb\Connection::open');