diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-02-12 08:57:51 -0800 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-02-12 08:57:51 -0800 |
commit | 5ee0adcd78ea4e84e987a29eb24528de94c7a8fe (patch) | |
tree | 06cbff047271f5aba37e6ed246a9fb440077035e | |
parent | 0f13da409bbe5cdf2fcfa26ff71b2287d3e57822 (diff) | |
parent | b31cc83a2da0706f2cc1f09ef393443b25b21214 (diff) | |
download | nextcloud-server-5ee0adcd78ea4e84e987a29eb24528de94c7a8fe.tar.gz nextcloud-server-5ee0adcd78ea4e84e987a29eb24528de94c7a8fe.zip |
Merge pull request #1655 from owncloud/use-correct-tablename-in-cache-master
$this->numericId should be determined based on table storages not fileca...
-rw-r--r-- | lib/files/cache/cache.php | 2 |
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'); } } |