Merge pull request #1152 from nextcloud/butonic-patch-2
[stable9] lastInsertId requires the prefix (#25786)
This commit is contained in:
commit
e9fb2ec5f3
|
@ -196,7 +196,7 @@ class DBConfigService {
|
||||||
'type' => $builder->createNamedParameter($type, IQueryBuilder::PARAM_INT)
|
'type' => $builder->createNamedParameter($type, IQueryBuilder::PARAM_INT)
|
||||||
]);
|
]);
|
||||||
$query->execute();
|
$query->execute();
|
||||||
return (int)$this->connection->lastInsertId('external_mounts');
|
return (int)$this->connection->lastInsertId('*PREFIX*external_mounts');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue