aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Encryption/Util.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Encryption/Util.php')
-rw-r--r--lib/private/Encryption/Util.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Encryption/Util.php b/lib/private/Encryption/Util.php
index 0bda00a5cbc..f5107d2ec43 100644
--- a/lib/private/Encryption/Util.php
+++ b/lib/private/Encryption/Util.php
@@ -174,7 +174,7 @@ class Util {
if ($c->getType() === 'dir') {
$dirList[] = $c->getPath();
} else {
- $result[] = $c->getPath();
+ $result[] = $c->getPath();
}
}
}
@@ -255,7 +255,7 @@ class Util {
// if path also contains a transaction id, we remove it too
$extension = pathinfo($fPath, PATHINFO_EXTENSION);
if (substr($extension, 0, 12) === 'ocTransferId') { // 12 = strlen("ocTransferId")
- $newLength = strlen($fPath) - strlen($extension) -1;
+ $newLength = strlen($fPath) - strlen($extension) - 1;
$fPath = substr($fPath, 0, $newLength);
}
return $fPath;