summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-03-31 14:29:55 +0200
committerRobin Appelman <icewind@owncloud.com>2014-03-31 14:29:55 +0200
commit0c2585f3ac9dbf82bf45023963dfecc66c515b78 (patch)
tree45b681da071c5df275ce7c331b2b108e944659bf /lib
parentfe78d963d9a7cbae6aabd8e1a275c6de783440ba (diff)
downloadnextcloud-server-0c2585f3ac9dbf82bf45023963dfecc66c515b78.tar.gz
nextcloud-server-0c2585f3ac9dbf82bf45023963dfecc66c515b78.zip
Improve phpdoc
Diffstat (limited to 'lib')
-rw-r--r--lib/private/files/cache/cache.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/files/cache/cache.php b/lib/private/files/cache/cache.php
index 42fee4f336d..1c9de56f8c5 100644
--- a/lib/private/files/cache/cache.php
+++ b/lib/private/files/cache/cache.php
@@ -594,7 +594,7 @@ class Cache {
}
/**
- * get the storage id of the storage for a file and the internal path of the file
+ * get the path of a file on this storage by it's id
*
* @param int $id
* @return string | null
@@ -611,6 +611,8 @@ class Cache {
/**
* get the storage id of the storage for a file and the internal path of the file
+ * unlike getPathById this does not limit the search to files on this storage and
+ * instead does a global search in the cache table
*
* @param int $id
* @return array, first element holding the storage id, second the path