summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/Lib/Storage/Swift.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/lib/Lib/Storage/Swift.php')
-rw-r--r--apps/files_external/lib/Lib/Storage/Swift.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_external/lib/Lib/Storage/Swift.php b/apps/files_external/lib/Lib/Storage/Swift.php
index db5b5bf6d95..57df4aa01a5 100644
--- a/apps/files_external/lib/Lib/Storage/Swift.php
+++ b/apps/files_external/lib/Lib/Storage/Swift.php
@@ -435,7 +435,7 @@ class Swift extends \OC\Files\Storage\Common {
}
$metadata = array('timestamp' => $mtime);
if ($this->file_exists($path)) {
- if ($this->is_dir($path) && $path != '.') {
+ if ($this->is_dir($path) && $path !== '.') {
$path .= '/';
}
@@ -640,7 +640,7 @@ class Swift extends \OC\Files\Storage\Common {
}, $cachedContent);
sort($cachedNames);
sort($content);
- return $cachedNames != $content;
+ return $cachedNames !== $content;
}
/**