diff options
Diffstat (limited to 'apps/federatedfilesharing/lib')
-rw-r--r-- | apps/federatedfilesharing/lib/FederatedShareProvider.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/federatedfilesharing/lib/FederatedShareProvider.php b/apps/federatedfilesharing/lib/FederatedShareProvider.php index fe814284fb6..cd0ad49b6a5 100644 --- a/apps/federatedfilesharing/lib/FederatedShareProvider.php +++ b/apps/federatedfilesharing/lib/FederatedShareProvider.php @@ -393,9 +393,7 @@ class FederatedShareProvider implements IShareProvider { $qb->setValue('file_target', $qb->createNamedParameter('')); $qb->execute(); - $id = $qb->getLastInsertId(); - - return (int)$id; + return $qb->getLastInsertId(); } /** |