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:
Thomas Müller 2013-02-12 08:57:51 -08:00
commit 5ee0adcd78
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');
}
}