summaryrefslogtreecommitdiffstats
path: root/lib/connector
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2012-09-10 12:31:57 +0300
committerThomas Müller <thomas.mueller@tmit.eu>2012-09-10 12:31:57 +0300
commit5721bd27861f7119fd51711583ca68b4bcce42bc (patch)
tree0011fb0e3e6ed11ef815e75cf222e8772d251bb0 /lib/connector
parent1a10955644b6b56431679f64a7756fe99090f837 (diff)
downloadnextcloud-server-5721bd27861f7119fd51711583ca68b4bcce42bc.tar.gz
nextcloud-server-5721bd27861f7119fd51711583ca68b4bcce42bc.zip
Respect coding style
Diffstat (limited to 'lib/connector')
-rw-r--r--lib/connector/sabre/directory.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/connector/sabre/directory.php b/lib/connector/sabre/directory.php
index 8fff77ac749..39606577f6d 100644
--- a/lib/connector/sabre/directory.php
+++ b/lib/connector/sabre/directory.php
@@ -60,7 +60,7 @@ class OC_Connector_Sabre_Directory extends OC_Connector_Sabre_Node implements Sa
}
} else {
$newPath = $this->path . '/' . $name;
- OC_Filesystem::file_put_contents($newPath,$data);
+ OC_Filesystem::file_put_contents($newPath, $data);
return OC_Connector_Sabre_Node::getETagPropertyForPath($newPath);
}
@@ -195,10 +195,9 @@ class OC_Connector_Sabre_Directory extends OC_Connector_Sabre_Node implements Sa
*/
public function getProperties($properties) {
$props = parent::getProperties($properties);
- if (in_array(self::GETETAG_PROPERTYNAME, $properties)
- && !isset($props[self::GETETAG_PROPERTYNAME])) {
- $props[self::GETETAG_PROPERTYNAME] =
- OC_Connector_Sabre_Node::getETagPropertyForPath($this->path);
+ if (in_array(self::GETETAG_PROPERTYNAME, $properties) && !isset($props[self::GETETAG_PROPERTYNAME])) {
+ $props[self::GETETAG_PROPERTYNAME]
+ = OC_Connector_Sabre_Node::getETagPropertyForPath($this->path);
}
return $props;
}