Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-02-09 20:35:47 +0400
committerBart Visscher <bartv@thisnet.nl>2013-02-14 11:36:26 +0400
commitcd35d257bb3bef2e02ccf0cd99e59a74f1a753b9 (patch)
tree65d75158609697518a2023932b75c60c1a99ea42 /lib/connector
parentd3ef967993d1e685e3311b073a8312c9dafdf214 (diff)
Fix NoSpaceAfterComma and SpaceBeforeComma
Diffstat (limited to 'lib/connector')
-rw-r--r--lib/connector/sabre/file.php2
-rw-r--r--lib/connector/sabre/node.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/connector/sabre/file.php b/lib/connector/sabre/file.php
index 61165d9956d..c7375541e86 100644
--- a/lib/connector/sabre/file.php
+++ b/lib/connector/sabre/file.php
@@ -84,7 +84,7 @@ class OC_Connector_Sabre_File extends OC_Connector_Sabre_Node implements Sabre_D
*/
public function get() {
- return \OC\Files\Filesystem::fopen($this->path,'rb');
+ return \OC\Files\Filesystem::fopen($this->path, 'rb');
}
diff --git a/lib/connector/sabre/node.php b/lib/connector/sabre/node.php
index 52995630211..57ce3710db8 100644
--- a/lib/connector/sabre/node.php
+++ b/lib/connector/sabre/node.php
@@ -84,12 +84,12 @@ abstract class OC_Connector_Sabre_Node implements Sabre_DAV_INode, Sabre_DAV_IPr
$newPath = $parentPath . '/' . $newName;
$oldPath = $this->path;
- \OC\Files\Filesystem::rename($this->path,$newPath);
+ \OC\Files\Filesystem::rename($this->path, $newPath);
$this->path = $newPath;
$query = OC_DB::prepare( 'UPDATE `*PREFIX*properties` SET `propertypath` = ? WHERE `userid` = ? AND `propertypath` = ?' );
- $query->execute( array( $newPath,OC_User::getUser(), $oldPath ));
+ $query->execute( array( $newPath, OC_User::getUser(), $oldPath ));
}