commit a4cfec40bdc6b1b6166042312ddc0c4dfd68b105
parent f4493819e79e54addb4186206fbed7d93074c1c5
Author: MTRNord <mtrnord1@gmail.com>
Date: Wed, 1 Apr 2015 20:12:32 +0200
another position
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/core/libs/OAuth2/src/fkooman/OAuth/Client/Api.php b/core/libs/OAuth2/src/fkooman/OAuth/Client/Api.php
@@ -35,10 +35,10 @@ class Api
public function __construct($clientConfigId, ClientConfigInterface $clientConfig, StorageInterface $tokenStorage, \Guzzle\Http\Client $httpClient)
{
+ if (headers_sent()){
+ echo "lol";
+ }
$this->setClientConfigId($clientConfigId);
- if (headers_sent()){
- echo "lol";
- }
$this->setClientConfig($clientConfig);
$this->setTokenStorage($tokenStorage);
$this->setHttpClient($httpClient);