summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2013-02-12 17:26:58 +0100
committerThomas Mueller <thomas.mueller@tmit.eu>2013-02-12 17:26:58 +0100
commitb31cc83a2da0706f2cc1f09ef393443b25b21214 (patch)
tree4c1cfa9dde4485e23865cdc5c94ce08cc047ca55
parent251b676a06a1fc5d0e2606865d8794c749aed3c3 (diff)
downloadnextcloud-server-b31cc83a2da0706f2cc1f09ef393443b25b21214.tar.gz
nextcloud-server-b31cc83a2da0706f2cc1f09ef393443b25b21214.zip
$this->numericId should be determined based on table storages not filecache
-rw-r--r--lib/files/cache/cache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/files/cache/cache.php b/lib/files/cache/cache.php
index dcb6e8fd39a..38b35c69def 100644
--- a/lib/files/cache/cache.php
+++ b/lib/files/cache/cache.php
@@ -56,7 +56,7 @@ class Cache {
} else {
$query = \OC_DB::prepare('INSERT INTO `*PREFIX*storages`(`id`) VALUES(?)');
$query->execute(array($this->storageId));
- $this->numericId = \OC_DB::insertid('*PREFIX*filecache');
+ $this->numericId = \OC_DB::insertid('*PREFIX*storages');
}
}