Fix oracle support of external storage app

pull/870/head
Joas Schilling 9 years ago
parent f3124b5052
commit b204af2f0f
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8
  1. 2
      apps/files_external/appinfo/database.xml
  2. 2
      apps/files_external/lib/Service/DBConfigService.php

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

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

Loading…
Cancel
Save