@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | } catch (GenericEncryptionException $e) { |
101 | 101 | // in case of a encryption exception we delete the file right away |
102 | 102 | $this->logger->info( |
103 | - "Can't move file " . $path . |
|
103 | + "Can't move file ".$path. |
|
104 | 104 | " to the trash bin, therefore it was deleted right away"); |
105 | 105 | |
106 | 106 | return $this->storage->unlink($path); |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | * @return bool |
127 | 127 | */ |
128 | 128 | protected function shouldMoveToTrash($path) { |
129 | - $normalized = Filesystem::normalizePath($this->mountPoint . '/' . $path); |
|
129 | + $normalized = Filesystem::normalizePath($this->mountPoint.'/'.$path); |
|
130 | 130 | $parts = explode('/', $normalized); |
131 | 131 | if (count($parts) < 4) { |
132 | 132 | return false; |
@@ -201,7 +201,7 @@ discard block |
||
201 | 201 | * Setup the storate wrapper callback |
202 | 202 | */ |
203 | 203 | public static function setupStorage() { |
204 | - \OC\Files\Filesystem::addStorageWrapper('oc_trashbin', function ($mountPoint, $storage) { |
|
204 | + \OC\Files\Filesystem::addStorageWrapper('oc_trashbin', function($mountPoint, $storage) { |
|
205 | 205 | return new \OCA\Files_Trashbin\Storage( |
206 | 206 | ['storage' => $storage, 'mountPoint' => $mountPoint], |
207 | 207 | \OC::$server->query(ITrashManager::class), |