diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-07-18 09:22:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-18 09:22:48 +0200 |
commit | 40328114f9a3625a554a9f8ed842272809485f08 (patch) | |
tree | 9a0af3e8e0d13b4b05acaa6344e1b9321b027ed1 /apps/files_sharing/lib | |
parent | 2526c227ed9613ad9fd965e117d2342ddb97cf29 (diff) | |
parent | f8a531c06c8095be4edcbd70063437e67833668e (diff) | |
download | nextcloud-server-40328114f9a3625a554a9f8ed842272809485f08.tar.gz nextcloud-server-40328114f9a3625a554a9f8ed842272809485f08.zip |
Merge pull request #379 from nextcloud/create_federated_share_on_mount
Create federated share on mount
Diffstat (limited to 'apps/files_sharing/lib')
-rw-r--r-- | apps/files_sharing/lib/AppInfo/Application.php | 2 | ||||
-rw-r--r-- | apps/files_sharing/lib/share/file.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/lib/AppInfo/Application.php b/apps/files_sharing/lib/AppInfo/Application.php index fda16c7acac..5ed8d886e2e 100644 --- a/apps/files_sharing/lib/AppInfo/Application.php +++ b/apps/files_sharing/lib/AppInfo/Application.php @@ -46,7 +46,7 @@ class Application extends App { * Controllers */ $container->registerService('ShareController', function (SimpleContainer $c) use ($server) { - $federatedSharingApp = new \OCA\FederatedFileSharing\AppInfo\Application('federatedfilesharing'); + $federatedSharingApp = new \OCA\FederatedFileSharing\AppInfo\Application(); return new ShareController( $c->query('AppName'), $c->query('Request'), diff --git a/apps/files_sharing/lib/share/file.php b/apps/files_sharing/lib/share/file.php index 4643e46eeb2..e7588a589e8 100644 --- a/apps/files_sharing/lib/share/file.php +++ b/apps/files_sharing/lib/share/file.php @@ -77,7 +77,7 @@ class OC_Share_Backend_File implements OCP\Share_Backend_File_Dependent { if ($federatedShareProvider) { $this->federatedShareProvider = $federatedShareProvider; } else { - $federatedSharingApp = new \OCA\FederatedFileSharing\AppInfo\Application('federatedfilesharing'); + $federatedSharingApp = new \OCA\FederatedFileSharing\AppInfo\Application(); $this->federatedShareProvider = $federatedSharingApp->getFederatedShareProvider(); } } |