aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Storage/Wrapper/Encryption.php
diff options
context:
space:
mode:
authorGit'Fellow <12234510+solracsf@users.noreply.github.com>2024-11-21 08:38:50 +0100
committerGit'Fellow <12234510+solracsf@users.noreply.github.com>2024-11-21 10:02:00 +0100
commit60d956f39f6226dcd66e800844834dc9f3614ce7 (patch)
treef3d7daf0d33f94a2065768a20355681ae35ed165 /lib/private/Files/Storage/Wrapper/Encryption.php
parentcbb937fa3260c6a445e5027fee288bd01380ddd1 (diff)
downloadnextcloud-server-refactSmallAdjust.tar.gz
nextcloud-server-refactSmallAdjust.zip
refactor(storage): Code adjustements and simplificationsrefactSmallAdjust
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Diffstat (limited to 'lib/private/Files/Storage/Wrapper/Encryption.php')
-rw-r--r--lib/private/Files/Storage/Wrapper/Encryption.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Storage/Wrapper/Encryption.php b/lib/private/Files/Storage/Wrapper/Encryption.php
index c9ed9c7cb53..ba23f3c43ec 100644
--- a/lib/private/Files/Storage/Wrapper/Encryption.php
+++ b/lib/private/Files/Storage/Wrapper/Encryption.php
@@ -652,7 +652,7 @@ class Encryption extends Wrapper {
$result = true;
}
if (is_resource($dh)) {
- while ($result and ($file = readdir($dh)) !== false) {
+ while ($result && ($file = readdir($dh)) !== false) {
if (!Filesystem::isIgnoredDir($file)) {
$result &= $this->copyFromStorage($sourceStorage, $sourceInternalPath . '/' . $file, $targetInternalPath . '/' . $file, false, $isRename);
}