From fa893762a225ca2ef1d6fa369ee8525095c8e14b Mon Sep 17 00:00:00 2001
From: Joas Schilling <nickvergessen@owncloud.com>
Date: Wed, 10 Feb 2016 08:23:06 +0100
Subject: [PATCH] Fix oracle by using less quotes

---
 apps/files_sharing/api/server2server.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/files_sharing/api/server2server.php b/apps/files_sharing/api/server2server.php
index 7e0505ae04a..a27b3a3bd85 100644
--- a/apps/files_sharing/api/server2server.php
+++ b/apps/files_sharing/api/server2server.php
@@ -81,7 +81,7 @@ class Server2Server {
 
 			try {
 				$externalManager->addShare($remote, $token, '', $name, $owner, false, $shareWith, $remoteId);
-				$shareId = \OC::$server->getDatabaseConnection()->lastInsertId('`*PREFIX*share_external`');
+				$shareId = \OC::$server->getDatabaseConnection()->lastInsertId('*PREFIX*share_external');
 
 				$user = $owner . '@' . $this->cleanupRemote($remote);
 
-- 
GitLab