aboutsummaryrefslogtreecommitdiffstats
path: root/lib/filecache.php
diff options
context:
space:
mode:
authorSam Tuke <samtuke@owncloud.com>2012-11-28 16:57:44 +0000
committerSam Tuke <samtuke@owncloud.com>2012-11-28 16:57:44 +0000
commit6975c5537bd3562bb6c6f33810fd05d609882c28 (patch)
tree7d54192fd659d9ef11e9965b422eaa42e24c86d3 /lib/filecache.php
parenteaa625c9bc426dcba0427457777a79a3944628a5 (diff)
downloadnextcloud-server-6975c5537bd3562bb6c6f33810fd05d609882c28.tar.gz
nextcloud-server-6975c5537bd3562bb6c6f33810fd05d609882c28.zip
OC_FSV->copy now only caches files which are copied from data/user/files
Added contextual comments
Diffstat (limited to 'lib/filecache.php')
-rw-r--r--lib/filecache.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/filecache.php b/lib/filecache.php
index 2479d29e329..7bf98f43a37 100644
--- a/lib/filecache.php
+++ b/lib/filecache.php
@@ -28,6 +28,7 @@
* It will try to keep the data up to date but changes from outside ownCloud can invalidate the cache
*/
class OC_FileCache{
+
/**
* get the filesystem info from the cache
* @param string path
@@ -58,8 +59,8 @@ class OC_FileCache{
* @param string $path
* @param array data
* @param string root (optional)
- *
- * $data is an assiciative array in the same format as returned by get
+ * @note $data is an associative array in the same format as returned
+ * by get
*/
public static function put($path, $data, $root=false) {
if($root===false) {