$this->numericId should be determined based on table storages not filecache
This commit is contained in:
parent
251b676a06
commit
b31cc83a2d
|
@ -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 New Issue