diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-08-29 08:38:33 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-08-29 20:28:45 +0200 |
commit | 52f2e7112ea985203eca16aa787bd75a7cf92194 (patch) | |
tree | 1d1f5070b050652940847c569b1d3968bdae082c /lib/connector/sabre/node.php | |
parent | 76bc4753e9bd2698415b067108806d82ac56b663 (diff) | |
download | nextcloud-server-52f2e7112ea985203eca16aa787bd75a7cf92194.tar.gz nextcloud-server-52f2e7112ea985203eca16aa787bd75a7cf92194.zip |
Whitespace fixes in lib
Diffstat (limited to 'lib/connector/sabre/node.php')
-rw-r--r-- | lib/connector/sabre/node.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/connector/sabre/node.php b/lib/connector/sabre/node.php index b9bf474a041..afcabe7bef6 100644 --- a/lib/connector/sabre/node.php +++ b/lib/connector/sabre/node.php @@ -80,9 +80,9 @@ abstract class OC_Connector_Sabre_Node implements Sabre_DAV_INode, Sabre_DAV_IPr $oldPath = $this->path; OC_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 )); @@ -123,8 +123,8 @@ abstract class OC_Connector_Sabre_Node implements Sabre_DAV_INode, Sabre_DAV_IPr } - /** - * sets the last modification time of the file (mtime) to the value given + /** + * sets the last modification time of the file (mtime) to the value given * in the second parameter or to now if the second param is empty. * Even if the modification time is set to a custom value the access time is set to now. */ @@ -195,7 +195,7 @@ abstract class OC_Connector_Sabre_Node implements Sabre_DAV_INode, Sabre_DAV_IPr if(count($properties) == 0){ return $this->property_cache; } - + $props = array(); foreach($properties as $property) { if (isset($this->property_cache[$property])) $props[$property] = $this->property_cache[$property]; |