summaryrefslogtreecommitdiffstats
path: root/lib/fileproxy
diff options
context:
space:
mode:
authorFelix Moeller <mail@felixmoeller.de>2012-11-04 10:46:32 +0100
committerFelix Moeller <mail@felixmoeller.de>2012-11-04 10:46:32 +0100
commitf8d1d7787e1112842db81a629dfd84b586fbebda (patch)
tree65ca5da914f492411485ccb61a707b00686ba8f6 /lib/fileproxy
parent17d466b03b91ccc058fe1a88340df36c22a580c2 (diff)
downloadnextcloud-server-f8d1d7787e1112842db81a629dfd84b586fbebda.tar.gz
nextcloud-server-f8d1d7787e1112842db81a629dfd84b586fbebda.zip
Checkstyle fixes for SpaceBeforeOpenBrace
Diffstat (limited to 'lib/fileproxy')
-rw-r--r--lib/fileproxy/fileoperations.php2
-rw-r--r--lib/fileproxy/quota.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/fileproxy/fileoperations.php b/lib/fileproxy/fileoperations.php
index 23fb63fcfb1..516629adaec 100644
--- a/lib/fileproxy/fileoperations.php
+++ b/lib/fileproxy/fileoperations.php
@@ -28,7 +28,7 @@ class OC_FileProxy_FileOperations extends OC_FileProxy{
static $rootView;
public function premkdir($path) {
- if(!self::$rootView){
+ if(!self::$rootView) {
self::$rootView = new OC_FilesystemView('');
}
return !self::$rootView->file_exists($path);
diff --git a/lib/fileproxy/quota.php b/lib/fileproxy/quota.php
index 54bda5d864e..05b617c8327 100644
--- a/lib/fileproxy/quota.php
+++ b/lib/fileproxy/quota.php
@@ -93,7 +93,7 @@ class OC_FileProxy_Quota extends OC_FileProxy{
}
public function preCopy($path1, $path2) {
- if(!self::$rootView){
+ if(!self::$rootView) {
self::$rootView = new OC_FilesystemView('');
}
return (self::$rootView->filesize($path1)<$this->getFreeSpace($path2) or $this->getFreeSpace($path2)==0);