summaryrefslogtreecommitdiffstats
path: root/lib/private/connector/sabre/custompropertiesbackend.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-05-27 14:57:19 +0200
committerLukas Reschke <lukas@owncloud.com>2015-05-27 14:57:19 +0200
commitffd73ef2e4220d5d9abcdc615891b6f1b120e231 (patch)
treee7dff5d6e48e68468e4e15037de7e5d229efb363 /lib/private/connector/sabre/custompropertiesbackend.php
parent3de945d13da0016cd8c602867ff18a33c2534418 (diff)
downloadnextcloud-server-ffd73ef2e4220d5d9abcdc615891b6f1b120e231.tar.gz
nextcloud-server-ffd73ef2e4220d5d9abcdc615891b6f1b120e231.zip
Fix indentation
Diffstat (limited to 'lib/private/connector/sabre/custompropertiesbackend.php')
-rw-r--r--lib/private/connector/sabre/custompropertiesbackend.php50
1 files changed, 25 insertions, 25 deletions
diff --git a/lib/private/connector/sabre/custompropertiesbackend.php b/lib/private/connector/sabre/custompropertiesbackend.php
index 44092534d6d..14989a5bac3 100644
--- a/lib/private/connector/sabre/custompropertiesbackend.php
+++ b/lib/private/connector/sabre/custompropertiesbackend.php
@@ -87,13 +87,13 @@ class CustomPropertiesBackend implements BackendInterface {
$this->user = $user->getUID();
}
- /**
- * Fetches properties for a path.
- *
- * @param string $path
- * @param PropFind $propFind
- * @return void
- */
+ /**
+ * Fetches properties for a path.
+ *
+ * @param string $path
+ * @param PropFind $propFind
+ * @return void
+ */
public function propFind($path, PropFind $propFind) {
try {
$node = $this->tree->getNodeForPath($path);
@@ -139,14 +139,14 @@ class CustomPropertiesBackend implements BackendInterface {
}
}
- /**
- * Updates properties for a path
- *
- * @param string $path
- * @param PropPatch $propPatch
+ /**
+ * Updates properties for a path
+ *
+ * @param string $path
+ * @param PropPatch $propPatch
*
- * @return void
- */
+ * @return void
+ */
public function propPatch($path, PropPatch $propPatch) {
$node = $this->tree->getNodeForPath($path);
if (!($node instanceof Node)) {
@@ -158,11 +158,11 @@ class CustomPropertiesBackend implements BackendInterface {
});
}
- /**
- * This method is called after a node is deleted.
- *
+ /**
+ * This method is called after a node is deleted.
+ *
* @param string $path path of node for which to delete properties
- */
+ */
public function delete($path) {
$statement = $this->connection->prepare(
'DELETE FROM `*PREFIX*properties` WHERE `userid` = ? AND `propertypath` = ?'
@@ -173,14 +173,14 @@ class CustomPropertiesBackend implements BackendInterface {
unset($this->cache[$path]);
}
- /**
- * This method is called after a successful MOVE
- *
- * @param string $source
- * @param string $destination
+ /**
+ * This method is called after a successful MOVE
*
- * @return void
- */
+ * @param string $source
+ * @param string $destination
+ *
+ * @return void
+ */
public function move($source, $destination) {
$statement = $this->connection->prepare(
'UPDATE `*PREFIX*properties` SET `propertypath` = ?' .