summaryrefslogtreecommitdiffstats
path: root/lib/filecache.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-11-10 16:40:09 +0100
committerRobin Appelman <icewind1991@gmail.com>2011-11-10 16:40:09 +0100
commit524e3686a0da79493a6048d8d92b7bbb0982ec08 (patch)
treedf3ff86248e797cc86ab2e2df0cc9061b4c5221e /lib/filecache.php
parent5a6aba1e1114707942c613c2402eed3237b43a21 (diff)
downloadnextcloud-server-524e3686a0da79493a6048d8d92b7bbb0982ec08.tar.gz
nextcloud-server-524e3686a0da79493a6048d8d92b7bbb0982ec08.zip
tell the user when the files are being scanned
Diffstat (limited to 'lib/filecache.php')
-rw-r--r--lib/filecache.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/filecache.php b/lib/filecache.php
index 41e31b5de25..902a8052afc 100644
--- a/lib/filecache.php
+++ b/lib/filecache.php
@@ -70,6 +70,8 @@ class OC_FileCache{
}
$mimePart=dirname($data['mimetype']);
$query=OC_DB::prepare('INSERT INTO *PREFIX*fscache(parent, name, path, size, mtime, ctime, mimetype, mimepart) VALUES(?,?,?,?,?,?,?,?)');
+// echo $path;
+// print_r($data);
$query->execute(array($parent,basename($path),$path,$data['size'],$data['mtime'],$data['ctime'],$data['mimetype'],$mimePart));
}