summaryrefslogtreecommitdiffstats
path: root/lib/private/Server.php
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2023-01-18 16:53:22 +0100
committerLouis Chemineau <louis@chmn.me>2023-02-02 15:41:26 +0100
commit4ab3c16403e69811cf2353ba2bfeafcbcf259c42 (patch)
tree981b24806dfde120a7170957cac022b3bfdb74b9 /lib/private/Server.php
parentfc4e87a2dfc5ff53bc9f15da13f355dd285769a9 (diff)
downloadnextcloud-server-4ab3c16403e69811cf2353ba2bfeafcbcf259c42.tar.gz
nextcloud-server-4ab3c16403e69811cf2353ba2bfeafcbcf259c42.zip
Pluggable share provider
Signed-off-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'lib/private/Server.php')
-rw-r--r--lib/private/Server.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php
index d8857b4efc6..bd33cdf58bd 100644
--- a/lib/private/Server.php
+++ b/lib/private/Server.php
@@ -1451,6 +1451,8 @@ class Server extends ServerContainer implements IServerContainer {
$this->registerAlias(IBinaryFinder::class, BinaryFinder::class);
+ $this->registerAlias(\OCP\Share\IPublicShareTemplateFactory::class, \OC\Share20\PublicShareTemplateFactory::class);
+
$this->connectDispatcher();
}