diff options
author | Bart Visscher <bartv@thisnet.nl> | 2013-02-09 17:35:47 +0100 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2013-02-14 08:36:26 +0100 |
commit | cd35d257bb3bef2e02ccf0cd99e59a74f1a753b9 (patch) | |
tree | 65d75158609697518a2023932b75c60c1a99ea42 /lib/connector | |
parent | d3ef967993d1e685e3311b073a8312c9dafdf214 (diff) | |
download | nextcloud-server-cd35d257bb3bef2e02ccf0cd99e59a74f1a753b9.tar.gz nextcloud-server-cd35d257bb3bef2e02ccf0cd99e59a74f1a753b9.zip |
Fix NoSpaceAfterComma and SpaceBeforeComma
Diffstat (limited to 'lib/connector')
-rw-r--r-- | lib/connector/sabre/file.php | 2 | ||||
-rw-r--r-- | lib/connector/sabre/node.php | 4 |
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 )); } |