Skip to content
Snippets Groups Projects
Commit b31cc83a authored by Thomas Müller's avatar Thomas Müller
Browse files

$this->numericId should be determined based on table storages not filecache

parent 251b676a
Branches
No related tags found
No related merge requests found
......@@ -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');
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment