From 9b27db0f7acf973c3b4ef7af5c7180efbe19a923 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Daniel=20B=C3=B6hmer?= <daniel.boehmer@jtl-software.com>
Date: Tue, 6 Oct 2015 13:14:01 +0200
Subject: [PATCH] added readme and changelog - changed to core connector
 version 2.0

---
 CHANGELOG.md      |  3 +++
 README.md         | 17 +++++++++++++++++
 composer.json     |  2 +-
 src/Connector.php |  5 -----
 4 files changed, 21 insertions(+), 6 deletions(-)
 create mode 100644 CHANGELOG.md
 create mode 100644 README.md

diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
index 0000000..67aeb1c
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,3 @@
+0.1.0
+-----
+- Added basic connector features
\ No newline at end of file
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..99e5111
--- /dev/null
+++ b/README.md
@@ -0,0 +1,17 @@
+JTL Example Connector
+=====================
+
+Welcome to the JTL Shopware 4 Connector
+
+### Use Composer (*recommended*)
+
+If you don't have Composer yet, download it following the instructions on
+http://getcomposer.org/ or just run the following command:
+
+    curl -s http://getcomposer.org/installer | php
+    
+Guide: http://guide.jtl-software.de/jtl/Kategorie:JTL-Connector#JTL-Connector
+
+Class documentation: http://docs.jtl-software.de
+
+Developer documentation: http://docs.jtl-connector.de
\ No newline at end of file
diff --git a/composer.json b/composer.json
index 8dc4fc3..19d27f4 100644
--- a/composer.json
+++ b/composer.json
@@ -34,7 +34,7 @@
   ],
   "require" : {
     "php" : ">=5.4.0",
-    "jtl/connector" : "dev-master"
+    "jtl/connector" : "~2.0"
   },
   "autoload" : {
     "psr-4" : {
diff --git a/src/Connector.php b/src/Connector.php
index e5da2f8..7c88b67 100644
--- a/src/Connector.php
+++ b/src/Connector.php
@@ -69,11 +69,6 @@ class Connector extends BaseConnector
      */
     public function handle(RequestPacket $requestpacket)
     {
-        $config = $this->getConfig();
-
-        // Set the config to our controller
-        $this->controller->setConfig($config);
-
         // Set the method to our controller
         $this->controller->setMethod($this->getMethod());
 
-- 
GitLab