@@ -131,7 +131,7 @@ discard block |
||
| 131 | 131 | */ |
| 132 | 132 | public function create($circleUniqueId, $source, $type, $payload) { |
| 133 | 133 | |
| 134 | - $this->miscService->log('Creating circle share: ' . $circleUniqueId, 0); |
|
| 134 | + $this->miscService->log('Creating circle share: '.$circleUniqueId, 0); |
|
| 135 | 135 | |
| 136 | 136 | try { |
| 137 | 137 | $share = new SharingFrame($source, $type); |
@@ -139,7 +139,7 @@ discard block |
||
| 139 | 139 | |
| 140 | 140 | $this->sharingFrameService->createFrame($circleUniqueId, $share); |
| 141 | 141 | } catch (\Exception $e) { |
| 142 | - $this->miscService->log('Failed to create circle - ' . $e->getMessage(), 3); |
|
| 142 | + $this->miscService->log('Failed to create circle - '.$e->getMessage(), 3); |
|
| 143 | 143 | return $this->fail( |
| 144 | 144 | [ |
| 145 | 145 | 'circle_id' => $circleUniqueId, |
@@ -151,7 +151,7 @@ discard block |
||
| 151 | 151 | ); |
| 152 | 152 | } |
| 153 | 153 | |
| 154 | - $this->miscService->log('Created circle: share ' . $circleUniqueId, 0); |
|
| 154 | + $this->miscService->log('Created circle: share '.$circleUniqueId, 0); |
|
| 155 | 155 | |
| 156 | 156 | return $this->success( |
| 157 | 157 | [ |
@@ -126,7 +126,7 @@ discard block |
||
| 126 | 126 | * @throws MemberDoesNotExistException |
| 127 | 127 | */ |
| 128 | 128 | public function createFrame($circleUniqueId, SharingFrame $frame, $broadcast = null) { |
| 129 | - $this->miscService->log('Create frame with payload ' . json_encode($frame->getPayload()), 0); |
|
| 129 | + $this->miscService->log('Create frame with payload '.json_encode($frame->getPayload()), 0); |
|
| 130 | 130 | |
| 131 | 131 | try { |
| 132 | 132 | $circle = $this->circlesRequest->getCircle($circleUniqueId, $this->userId); |
@@ -140,7 +140,7 @@ discard block |
||
| 140 | 140 | |
| 141 | 141 | $this->initiateShare($circle->getUniqueId(), $frame->getUniqueId()); |
| 142 | 142 | } catch (Exception $e) { |
| 143 | - $this->miscService->log('fail to create frame for circle ' . $circleUniqueId . ' - ' . $e->getMessage()); |
|
| 143 | + $this->miscService->log('fail to create frame for circle '.$circleUniqueId.' - '.$e->getMessage()); |
|
| 144 | 144 | throw $e; |
| 145 | 145 | } |
| 146 | 146 | } |
@@ -279,7 +279,7 @@ discard block |
||
| 279 | 279 | |
| 280 | 280 | $client = $this->clientService->newClient(); |
| 281 | 281 | |
| 282 | - $addr = $this->configService->getLocalAddress() . \OC::$WEBROOT; |
|
| 282 | + $addr = $this->configService->getLocalAddress().\OC::$WEBROOT; |
|
| 283 | 283 | |
| 284 | 284 | try { |
| 285 | 285 | $client->post( |
@@ -294,7 +294,7 @@ discard block |
||
| 294 | 294 | |
| 295 | 295 | return true; |
| 296 | 296 | } catch (Exception $e) { |
| 297 | - $this->miscService->log('fail to initialise circle share to ' . $addr . ' for circle ' . $circleUniqueId . ' - ' . $e->getMessage(), 3); |
|
| 297 | + $this->miscService->log('fail to initialise circle share to '.$addr.' for circle '.$circleUniqueId.' - '.$e->getMessage(), 3); |
|
| 298 | 298 | throw $e; |
| 299 | 299 | } |
| 300 | 300 | } |
@@ -306,7 +306,7 @@ discard block |
||
| 306 | 306 | * @return string |
| 307 | 307 | */ |
| 308 | 308 | private function generatePayloadDeliveryURL($remote) { |
| 309 | - return $this->configService->generateRemoteHost($remote) . Application::REMOTE_URL_PAYLOAD; |
|
| 309 | + return $this->configService->generateRemoteHost($remote).Application::REMOTE_URL_PAYLOAD; |
|
| 310 | 310 | } |
| 311 | 311 | |
| 312 | 312 | |
@@ -380,7 +380,7 @@ discard block |
||
| 380 | 380 | |
| 381 | 381 | } catch (Exception $e) { |
| 382 | 382 | $this->miscService->log( |
| 383 | - 'fail to send frame to ' . $link->getAddress() . ' - ' . $e->getMessage() |
|
| 383 | + 'fail to send frame to '.$link->getAddress().' - '.$e->getMessage() |
|
| 384 | 384 | ); |
| 385 | 385 | } |
| 386 | 386 | } |