Merge pull request #1152 from nextcloud/butonic-patch-2

[stable9] lastInsertId requires the prefix (#25786)
This commit is contained in:
Roeland Jago Douma 2016-08-29 20:28:51 +02:00 committed by GitHub
commit e9fb2ec5f3
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ class DBConfigService {
'type' => $builder->createNamedParameter($type, IQueryBuilder::PARAM_INT)
]);
$query->execute();
return (int)$this->connection->lastInsertId('external_mounts');
return (int)$this->connection->lastInsertId('*PREFIX*external_mounts');
}
/**