@@ -139,7 +139,7 @@ discard block |
||
| 139 | 139 | } |
| 140 | 140 | |
| 141 | 141 | $this->miscService->log( |
| 142 | - 'Create frame with payload ' . json_encode($frame->getPayload()) . ' as ' . $userId, 0 |
|
| 142 | + 'Create frame with payload '.json_encode($frame->getPayload()).' as '.$userId, 0 |
|
| 143 | 143 | ); |
| 144 | 144 | try { |
| 145 | 145 | $circle = $this->circlesRequest->getCircle($circleUniqueId, $userId); |
@@ -153,7 +153,7 @@ discard block |
||
| 153 | 153 | |
| 154 | 154 | $this->initiateShare($circle->getUniqueId(), $frame->getUniqueId()); |
| 155 | 155 | } catch (Exception $e) { |
| 156 | - $this->miscService->log('fail to create frame for circle ' . $circleUniqueId . ' - ' . $e->getMessage()); |
|
| 156 | + $this->miscService->log('fail to create frame for circle '.$circleUniqueId.' - '.$e->getMessage()); |
|
| 157 | 157 | throw $e; |
| 158 | 158 | } |
| 159 | 159 | } |
@@ -291,7 +291,7 @@ discard block |
||
| 291 | 291 | ]; |
| 292 | 292 | |
| 293 | 293 | $client = $this->clientService->newClient(); |
| 294 | - $addr = $this->configService->getLocalAddress() . \OC::$WEBROOT; |
|
| 294 | + $addr = $this->configService->getLocalAddress().\OC::$WEBROOT; |
|
| 295 | 295 | try { |
| 296 | 296 | $client->post( |
| 297 | 297 | $this->generatePayloadDeliveryURL($addr), [ |
@@ -304,7 +304,7 @@ discard block |
||
| 304 | 304 | |
| 305 | 305 | return true; |
| 306 | 306 | } catch (Exception $e) { |
| 307 | - $this->miscService->log('fail to initialise circle share to ' . $addr . ' for circle ' . $circleUniqueId . ' - ' . $e->getMessage(), 3); |
|
| 307 | + $this->miscService->log('fail to initialise circle share to '.$addr.' for circle '.$circleUniqueId.' - '.$e->getMessage(), 3); |
|
| 308 | 308 | throw $e; |
| 309 | 309 | } |
| 310 | 310 | } |
@@ -316,7 +316,7 @@ discard block |
||
| 316 | 316 | * @return string |
| 317 | 317 | */ |
| 318 | 318 | private function generatePayloadDeliveryURL($remote) { |
| 319 | - return $this->configService->generateRemoteHost($remote) . Application::REMOTE_URL_PAYLOAD; |
|
| 319 | + return $this->configService->generateRemoteHost($remote).Application::REMOTE_URL_PAYLOAD; |
|
| 320 | 320 | } |
| 321 | 321 | |
| 322 | 322 | |
@@ -390,7 +390,7 @@ discard block |
||
| 390 | 390 | |
| 391 | 391 | } catch (Exception $e) { |
| 392 | 392 | $this->miscService->log( |
| 393 | - 'fail to send frame to ' . $link->getAddress() . ' - ' . $e->getMessage() |
|
| 393 | + 'fail to send frame to '.$link->getAddress().' - '.$e->getMessage() |
|
| 394 | 394 | ); |
| 395 | 395 | } |
| 396 | 396 | } |