mirror of
https://github.com/nextcloud/server.git
synced 2026-03-30 22:26:41 -04:00
Merge pull request #1655 from owncloud/use-correct-tablename-in-cache-master
$this->numericId should be determined based on table storages not fileca...
This commit is contained in:
commit
5ee0adcd78
1 changed files with 1 additions and 1 deletions
2
lib/files/cache/cache.php
vendored
2
lib/files/cache/cache.php
vendored
|
|
@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue