Browse Source
Use correct typehint
remotes/origin/move_setupfromtoken_to_sharemanager
Roeland Jago Douma
10 years ago
No known key found for this signature in database
GPG Key ID: 1E152838F164D13B
1 changed files with
1 additions and
1 deletions
-
lib/private/Server.php
|
|
@ -623,7 +623,7 @@ class Server extends ServerContainer implements IServerContainer { |
|
|
|
$this->registerService('ShareManager', function(Server $c) { |
|
|
|
$config = $c->getConfig(); |
|
|
|
$factoryClass = $config->getSystemValue('sharing.managerFactory', '\OC\Share20\ProviderFactory'); |
|
|
|
/** @var \OC\Share20\IProviderFactory $factory */ |
|
|
|
/** @var \OCP\Share\IProviderFactory $factory */ |
|
|
|
$factory = new $factoryClass($this); |
|
|
|
|
|
|
|
$manager = new \OC\Share20\Manager( |
|
|
|