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

This commit is contained in:
Thomas Mueller 2013-02-12 17:26:58 +01:00
parent 251b676a06
commit b31cc83a2d
1 changed files with 1 additions and 1 deletions

View File

@ -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');
}
}