From: Thomas Mueller Date: Tue, 12 Feb 2013 16:26:58 +0000 (+0100) Subject: $this->numericId should be determined based on table storages not filecache X-Git-Tag: v5.0.0alpha1~3^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b31cc83a2da0706f2cc1f09ef393443b25b21214;p=nextcloud-server.git $this->numericId should be determined based on table storages not filecache --- 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'); } }