Merge pull request #1181 from nextcloud/backport-870-oracle-support

[stable10] Fix oracle support of external storage app
This commit is contained in:
Roeland Jago Douma 2016-08-31 15:15:07 +02:00 committed by GitHub
commit 62c89213f4
2 changed files with 2 additions and 2 deletions

View File

@ -144,7 +144,7 @@
<field>
<name>value</name>
<type>text</type>
<notnull>true</notnull>
<notnull>false</notnull>
<length>4096</length>
</field>

View File

@ -208,7 +208,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');
}
/**