From 73f2876d649c590cd273ecee2dcc404babed7160 Mon Sep 17 00:00:00 2001 From: Julien Veyssier Date: Thu, 15 Dec 2022 17:26:03 +0100 Subject: rename SabrePublicPluginEvent to BeforeSabrePubliclyLoadedEvent, run build/autoloaderchecker.sh Signed-off-by: Julien Veyssier --- apps/dav/appinfo/v1/publicwebdav.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/dav/appinfo') diff --git a/apps/dav/appinfo/v1/publicwebdav.php b/apps/dav/appinfo/v1/publicwebdav.php index 5a405df1554..5530fc2cc7d 100644 --- a/apps/dav/appinfo/v1/publicwebdav.php +++ b/apps/dav/appinfo/v1/publicwebdav.php @@ -30,8 +30,8 @@ * */ +use OCP\BeforeSabrePubliclyLoadedEvent; use OCP\EventDispatcher\IEventDispatcher; -use OCP\SabrePublicPluginEvent; use Psr\Log\LoggerInterface; // load needed apps @@ -114,7 +114,7 @@ $server = $serverFactory->createServer($baseuri, $requestUri, $authPlugin, funct $server->addPlugin($linkCheckPlugin); $server->addPlugin($filesDropPlugin); // allow setup of additional plugins -$event = new SabrePublicPluginEvent($server); +$event = new BeforeSabrePubliclyLoadedEvent($server); /** @var IEventDispatcher $eventDispatcher */ $eventDispatcher = \OC::$server->get(IEventDispatcher::class); $eventDispatcher->dispatchTyped($event); -- cgit v1.2.3