From: Joas Schilling Date: Mon, 15 Aug 2016 09:59:48 +0000 (+0200) Subject: Fix oracle support of external storage app X-Git-Tag: v11.0RC2~825^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b204af2f0f1354a11efad47d9a47535c8c77f729;p=nextcloud-server.git Fix oracle support of external storage app --- diff --git a/apps/files_external/appinfo/database.xml b/apps/files_external/appinfo/database.xml index 54ee642ead6..e39144931a7 100644 --- a/apps/files_external/appinfo/database.xml +++ b/apps/files_external/appinfo/database.xml @@ -144,7 +144,7 @@ value text - true + false 4096 diff --git a/apps/files_external/lib/Service/DBConfigService.php b/apps/files_external/lib/Service/DBConfigService.php index a94b73772e7..61cca9a0224 100644 --- a/apps/files_external/lib/Service/DBConfigService.php +++ b/apps/files_external/lib/Service/DBConfigService.php @@ -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'); } /**