Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
lastInsertId requires the prefix
  • Loading branch information
butonic committed Aug 11, 2016
commit 6b3c6530ce059eac938f2ee4b6045420c1df8ad4
2 changes: 1 addition & 1 deletion apps/files_external/lib/Service/DBConfigService.php
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ public function addMount($mountPoint, $storageBackend, $authBackend, $priority,
'type' => $builder->createNamedParameter($type, IQueryBuilder::PARAM_INT)
]);
$query->execute();
return (int)$this->connection->lastInsertId('external_mounts');
return (int)$this->connection->lastInsertId('*PREFIX*external_mounts');
}

/**
Expand Down