aboutsummaryrefslogtreecommitdiffstats
path: root/lib/files
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-02-22 17:21:57 +0100
committerBart Visscher <bartv@thisnet.nl>2013-02-22 19:05:36 +0100
commitbb75dfc021a68bcd9526ef40f78bca4910798345 (patch)
tree30185c8198f4da87f180214bf1f2076ec48f3777 /lib/files
parent78fce834058a38a7dbcc5310e16095c743434bc6 (diff)
downloadnextcloud-server-bb75dfc021a68bcd9526ef40f78bca4910798345.tar.gz
nextcloud-server-bb75dfc021a68bcd9526ef40f78bca4910798345.zip
Whitespace fixes
Diffstat (limited to 'lib/files')
-rw-r--r--lib/files/cache/legacy.php6
-rw-r--r--lib/files/filesystem.php2
-rw-r--r--lib/files/storage/common.php4
3 files changed, 6 insertions, 6 deletions
diff --git a/lib/files/cache/legacy.php b/lib/files/cache/legacy.php
index 6d1ffa7b40b..2b8689fcbda 100644
--- a/lib/files/cache/legacy.php
+++ b/lib/files/cache/legacy.php
@@ -51,12 +51,12 @@ class Legacy {
$this->cacheHasItems = false;
return false;
}
-
+
if ($result === false || property_exists($result, 'error_message_prefix')) {
$this->cacheHasItems = false;
return false;
- }
-
+ }
+
$this->cacheHasItems = (bool)$result->fetchRow();
return $this->cacheHasItems;
}
diff --git a/lib/files/filesystem.php b/lib/files/filesystem.php
index 401ee8417e5..0bbd7550d74 100644
--- a/lib/files/filesystem.php
+++ b/lib/files/filesystem.php
@@ -221,7 +221,7 @@ class Filesystem {
$root = \OC_User::getHome($user);
self::mount('\OC\Files\Storage\Local', array('datadir' => $root), $user);
-
+
// Load system mount points
if (is_file(\OC::$SERVERROOT . '/config/mount.php') or is_file(\OC::$SERVERROOT . '/config/mount.json')) {
if (is_file(\OC::$SERVERROOT . '/config/mount.json')) {
diff --git a/lib/files/storage/common.php b/lib/files/storage/common.php
index 4e7a73e5d4a..8faacdf01d8 100644
--- a/lib/files/storage/common.php
+++ b/lib/files/storage/common.php
@@ -278,7 +278,7 @@ abstract class Common implements \OC\Files\Storage\Storage {
return uniqid();
}
}
-
+
/**
* clean a path, i.e. remove all redundant '.' and '..'
* making sure that it can't point to higher than '/'
@@ -289,7 +289,7 @@ abstract class Common implements \OC\Files\Storage\Storage {
if (strlen($path) == 0 or $path[0] != '/') {
$path = '/' . $path;
}
-
+
$output = array();
foreach (explode('/', $path) as $chunk) {
if ($chunk == '..') {