diff --git a/apps/federatedfilesharing/appinfo/routes.php b/apps/federatedfilesharing/appinfo/routes.php
index 534733e001f980853f9b2a0e56a53a2ae9372adc..2a90ef5b59b3206959b2aed6c19940399e1665b7 100644
--- a/apps/federatedfilesharing/appinfo/routes.php
+++ b/apps/federatedfilesharing/appinfo/routes.php
@@ -21,6 +21,6 @@
 
 return [
 	'routes' => [
-		['name' => 'SaveToOwnCloud#saveToOwnCloud', 'url' => '/saveToOwnCloud', 'verb' => 'POST'],
+		['name' => 'SaveToNextcloud#saveToNextcloud', 'url' => '/saveToNextcloud', 'verb' => 'POST'],
 	]
 ];
diff --git a/apps/federatedfilesharing/lib/Controller/SaveToOwnCloudController.php b/apps/federatedfilesharing/lib/Controller/SaveToNextcloudController.php
similarity index 92%
rename from apps/federatedfilesharing/lib/Controller/SaveToOwnCloudController.php
rename to apps/federatedfilesharing/lib/Controller/SaveToNextcloudController.php
index 2318d21afb55794bf0519f9515ea0dddff020d20..f2788cf1ccd1ebebc9795de5da716bc49ab6c052 100644
--- a/apps/federatedfilesharing/lib/Controller/SaveToOwnCloudController.php
+++ b/apps/federatedfilesharing/lib/Controller/SaveToNextcloudController.php
@@ -32,7 +32,7 @@ use OCP\IRequest;
 use OCP\ISession;
 use OCP\Share\IManager;
 
-class SaveToOwnCloudController extends Controller {
+class SaveToNextcloudController extends Controller {
 
 	/** @var FederatedShareProvider */
 	private $federatedShareProvider;
@@ -47,7 +47,7 @@ class SaveToOwnCloudController extends Controller {
 	private $session;
 
 	/**
-	 * SaveToOwnCloudController constructor.
+	 * SaveToNextcloudController constructor.
 	 *
 	 * @param string $appName
 	 * @param IRequest $request
@@ -72,7 +72,7 @@ class SaveToOwnCloudController extends Controller {
 	}
 
 	/**
-	 * save public link to my ownCloud by asking the owner to create a federated
+	 * save public link to my Nextcloud by asking the owner to create a federated
 	 * share with me
 	 *
 	 * @NoCSRFRequired
@@ -83,7 +83,7 @@ class SaveToOwnCloudController extends Controller {
 	 * @param string $password
 	 * @return JSONResponse
 	 */
-	public function saveToOwnCloud($shareWith, $token, $password = '') {
+	public function saveToNextcloud($shareWith, $token, $password = '') {
 
 		try {
 			list(, $server) = $this->addressHandler->splitUserRemote($shareWith);
diff --git a/apps/federatedfilesharing/tests/Controller/SaveToOwnCloudControllerTest.php b/apps/federatedfilesharing/tests/Controller/SaveToNextcloudControllerTest.php
similarity index 91%
rename from apps/federatedfilesharing/tests/Controller/SaveToOwnCloudControllerTest.php
rename to apps/federatedfilesharing/tests/Controller/SaveToNextcloudControllerTest.php
index 9189ac76601e2c96060ca203966cda7e170beca8..60136212c317714ce4be3c85090dae54faa8ba22 100644
--- a/apps/federatedfilesharing/tests/Controller/SaveToOwnCloudControllerTest.php
+++ b/apps/federatedfilesharing/tests/Controller/SaveToNextcloudControllerTest.php
@@ -24,7 +24,7 @@ namespace OCA\FederatedFileSharing\Tests\Controller;
 
 use OC\HintException;
 use OCA\FederatedFileSharing\AddressHandler;
-use OCA\FederatedFileSharing\Controller\SaveToOwnCloudController;
+use OCA\FederatedFileSharing\Controller\SaveToNextcloudController;
 use OCA\FederatedFileSharing\FederatedShareProvider;
 use OCP\AppFramework\Http;
 use OCP\Files\IRootFolder;
@@ -34,9 +34,9 @@ use OCP\Share;
 use OCP\Share\IManager;
 use OCP\Share\IShare;
 
-class SaveToOwnCloudControllerTest extends \Test\TestCase {
+class SaveToNextcloudControllerTest extends \Test\TestCase {
 
-	/** @var  SaveToOwnCloudController */
+	/** @var  SaveToNextcloudController */
 	private $controller;
 
 	/** @var  \OCP\IRequest | \PHPUnit_Framework_MockObject_MockObject */
@@ -77,7 +77,7 @@ class SaveToOwnCloudControllerTest extends \Test\TestCase {
 		$this->share = new \OC\Share20\Share($this->rootFolder, $this->userManager);
 		$this->session = $this->getMock('OCP\ISession');
 
-		$this->controller = new SaveToOwnCloudController(
+		$this->controller = new SaveToNextcloudController(
 			'federatedfilesharing', $this->request,
 			$this->federatedShareProvider,
 			$this->shareManager,
@@ -87,7 +87,7 @@ class SaveToOwnCloudControllerTest extends \Test\TestCase {
 	}
 
 	/**
-	 * @dataProvider dataTestSaveToOwnCloud
+	 * @dataProvider dataTestSaveToNextcloud
 	 *
 	 * @param string $shareWith
 	 * @param bool $validShareWith
@@ -96,7 +96,7 @@ class SaveToOwnCloudControllerTest extends \Test\TestCase {
 	 * @param bool $createSuccessful
 	 * @param string $expectedReturnData
 	 */
-	public function testSaveToOwnCloud($shareWith, $validShareWith, $token, $validToken, $createSuccessful, $expectedReturnData) {
+	public function testSaveToNextcloud($shareWith, $validShareWith, $token, $validToken, $createSuccessful, $expectedReturnData) {
 		$this->addressHandler->expects($this->any())->method('splitUserRemote')
 			->with($shareWith)
 			->willReturnCallback(
@@ -133,7 +133,7 @@ class SaveToOwnCloudControllerTest extends \Test\TestCase {
 				}
 			);
 
-		$result = $this->controller->saveToOwnCloud($shareWith, $token);
+		$result = $this->controller->saveToNextcloud($shareWith, $token);
 
 		$errorCase = !$validShareWith || !$validToken || !$createSuccessful;
 
@@ -150,7 +150,7 @@ class SaveToOwnCloudControllerTest extends \Test\TestCase {
 
 	}
 
-	public function dataTestSaveToOwnCloud() {
+	public function dataTestSaveToNextcloud() {
 		return [
 			//shareWith, validShareWith, token, validToken, createSuccessful, expectedReturnData
 			['user@server', true, 'token', true, true, 'server'],
diff --git a/apps/files_sharing/ajax/external.php b/apps/files_sharing/ajax/external.php
index d57d333c7eedb415432716a5e3f8ad2cdc6bac87..20c3706c12d986bd84194af0b247343d48b0d8ca 100644
--- a/apps/files_sharing/ajax/external.php
+++ b/apps/files_sharing/ajax/external.php
@@ -50,10 +50,8 @@ $shareWith = \OCP\User::getUser() . '@' . $urlGenerator->getAbsoluteURL('/');
 
 $httpClient = \OC::$server->getHTTPClientService()->newClient();
 
-error_log("do th post");
-
 try {
-	$response = $httpClient->post($remote . '/index.php/apps/federatedfilesharing/saveToOwnCloud',
+	$response = $httpClient->post($remote . '/index.php/apps/federatedfilesharing/saveToNextcloud',
 		[
 			'body' =>
 				[
diff --git a/apps/files_sharing/js/external.js b/apps/files_sharing/js/external.js
index be384818c3c488c5de8cce42f59ad42dd8816d1b..a04a5721f3724b85b3b4a14b6b5f1f17f873b05a 100644
--- a/apps/files_sharing/js/external.js
+++ b/apps/files_sharing/js/external.js
@@ -99,7 +99,6 @@
 				var callbackAddShare = function(result, share) {
 					var password = share.password || '';
 					if (result) {
-						//$.post(OC.generateUrl('/apps/files_sharing/api/externalShares'), {id: share.id});
 						$.post(OC.generateUrl('apps/files_sharing/external'), {
 							remote: share.remote,
 							token: share.token,
diff --git a/apps/files_sharing/js/public.js b/apps/files_sharing/js/public.js
index 4293c7b310b55a2557be8d9e78d7b0b2e6aa7aca..6bc31879d0f410d3c2bf1d70141c4f5c082139b0 100644
--- a/apps/files_sharing/js/public.js
+++ b/apps/files_sharing/js/public.js
@@ -247,7 +247,7 @@ OCA.Sharing.PublicApp = {
 			var ownerDisplayName = $('#save').data('owner-display-name');
 			var name = $('#save').data('name');
 			var isProtected = $('#save').data('protected') ? 1 : 0;
-			OCA.Sharing.PublicApp._saveToOwnCloud(remote, token, owner, ownerDisplayName, name, isProtected);
+			OCA.Sharing.PublicApp._saveToNextcloud(remote, token, owner, ownerDisplayName, name, isProtected);
 		});
 
 		$('#remote_address').on("keyup paste", function() {
@@ -307,7 +307,7 @@ OCA.Sharing.PublicApp = {
 	 * @param isProtected
 	 * @private
 	 */
-	_legacySaveToOwnCloud: function (remote, token, owner, ownerDisplayName, name, isProtected) {
+	_legacySaveToNextcloud: function (remote, token, owner, ownerDisplayName, name, isProtected) {
 
 		var location = window.location.protocol + '//' + window.location.host + OC.webroot;
 
@@ -335,7 +335,7 @@ OCA.Sharing.PublicApp = {
 		}
 	},
 
-	_saveToOwnCloud: function (remote, token, owner, ownerDisplayName, name, isProtected) {
+	_saveToNextcloud: function (remote, token, owner, ownerDisplayName, name, isProtected) {
 
 		var toggleLoading = function() {
 			var iconClass = $('#save-button-confirm').attr('class');
@@ -357,13 +357,13 @@ OCA.Sharing.PublicApp = {
 		toggleLoading();
 
 		if (remote.indexOf('@') == -1) {
-			this._legacySaveToOwnCloud(remote, token, owner, ownerDisplayName, name, isProtected);
+			this._legacySaveToNextcloud(remote, token, owner, ownerDisplayName, name, isProtected);
 			toggleLoading();
 			return;
 		}
 
 		$.post(
-			OC.generateUrl('/apps/federatedfilesharing/saveToOwnCloud'),
+			OC.generateUrl('/apps/federatedfilesharing/saveToNextcloud'),
 			{
 				'shareWith': remote,
 				'token': token