@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | return new DataResponse(); |
84 | 84 | } |
85 | 85 | |
86 | - $this->logger->error('Could not accept federated share with id: ' . $id, |
|
86 | + $this->logger->error('Could not accept federated share with id: '.$id, |
|
87 | 87 | ['app' => 'files_sharing']); |
88 | 88 | |
89 | 89 | throw new OCSNotFoundException('wrong share ID, share doesn\'t exist.'); |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | * @return array enriched share info with data from the filecache |
115 | 115 | */ |
116 | 116 | private static function extendShareInfo($share) { |
117 | - $view = new \OC\Files\View('/' . \OC_User::getUser() . '/files/'); |
|
117 | + $view = new \OC\Files\View('/'.\OC_User::getUser().'/files/'); |
|
118 | 118 | $info = $view->getFileInfo($share['mountpoint']); |
119 | 119 | |
120 | 120 | if ($info === false) { |
@@ -181,7 +181,7 @@ discard block |
||
181 | 181 | throw new OCSNotFoundException('Share does not exist'); |
182 | 182 | } |
183 | 183 | |
184 | - $mountPoint = '/' . \OC_User::getUser() . '/files' . $shareInfo['mountpoint']; |
|
184 | + $mountPoint = '/'.\OC_User::getUser().'/files'.$shareInfo['mountpoint']; |
|
185 | 185 | |
186 | 186 | if ($this->externalManager->removeShare($mountPoint) === true) { |
187 | 187 | return new DataResponse(); |