diff options
author | Julien Veyssier <julien-nc@posteo.net> | 2022-12-15 17:26:03 +0100 |
---|---|---|
committer | Julien Veyssier <julien-nc@posteo.net> | 2022-12-15 17:37:34 +0100 |
commit | 73f2876d649c590cd273ecee2dcc404babed7160 (patch) | |
tree | 47baeb9a3b00d6c7ca2ee21a581b3ebc18e92efe /apps/dav/appinfo | |
parent | c9dcf3988ab98202b2e000d4a4e9be042047579b (diff) | |
download | nextcloud-server-73f2876d649c590cd273ecee2dcc404babed7160.tar.gz nextcloud-server-73f2876d649c590cd273ecee2dcc404babed7160.zip |
rename SabrePublicPluginEvent to BeforeSabrePubliclyLoadedEvent, run build/autoloaderchecker.sh
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Diffstat (limited to 'apps/dav/appinfo')
-rw-r--r-- | apps/dav/appinfo/v1/publicwebdav.php | 4 |
1 files changed, 2 insertions, 2 deletions
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); |