summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLudovic BERLEMONT <ludovic.berlemont@oxand.com>2016-02-09 10:21:52 +0100
committerLudovic BERLEMONT <ludovic.berlemont@oxand.com>2016-02-09 10:21:52 +0100
commit8069a70f288f639f3cb6a58d137be219da82e56c (patch)
tree6e31721d34f869ba21b5badf7d3723c4c61ed67b
parent4873a00fc14b9cff06c9dab05824fb917bbcfb24 (diff)
downloadsso-8069a70f288f639f3cb6a58d137be219da82e56c.zip
sso-8069a70f288f639f3cb6a58d137be219da82e56c.tar.gz
sso-8069a70f288f639f3cb6a58d137be219da82e56c.tar.bz2
Remove error_log function
-rw-r--r--src/Broker.php1
-rw-r--r--src/Server.php2
2 files changed, 0 insertions, 3 deletions
diff --git a/src/Broker.php b/src/Broker.php
index eaeb43e..7554930 100644
--- a/src/Broker.php
+++ b/src/Broker.php
@@ -199,7 +199,6 @@ class Broker
if ($contentType != 'application/json') {
$message = "Expected application/json response, got $contentType";
- error_log($message . "\n\n" . $response);
throw new Exception($message, $httpCode);
}
diff --git a/src/Server.php b/src/Server.php
index 3428d4b..0496b85 100644
--- a/src/Server.php
+++ b/src/Server.php
@@ -183,8 +183,6 @@ abstract class Server
} elseif (strpos($_SERVER['HTTP_ACCEPT'], 'application/json') !== false) {
$this->returnType = 'json';
}
-
- error_log($this->returnType);
}
/**