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 /lib | |
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 'lib')
-rw-r--r-- | lib/composer/composer/autoload_classmap.php | 1 | ||||
-rw-r--r-- | lib/composer/composer/autoload_static.php | 1 | ||||
-rw-r--r-- | lib/public/BeforeSabrePubliclyLoadedEvent.php (renamed from lib/public/SabrePublicPluginEvent.php) | 8 |
3 files changed, 9 insertions, 1 deletions
diff --git a/lib/composer/composer/autoload_classmap.php b/lib/composer/composer/autoload_classmap.php index 53a957c419a..08a871e8466 100644 --- a/lib/composer/composer/autoload_classmap.php +++ b/lib/composer/composer/autoload_classmap.php @@ -114,6 +114,7 @@ return array( 'OCP\\BackgroundJob\\Job' => $baseDir . '/lib/public/BackgroundJob/Job.php', 'OCP\\BackgroundJob\\QueuedJob' => $baseDir . '/lib/public/BackgroundJob/QueuedJob.php', 'OCP\\BackgroundJob\\TimedJob' => $baseDir . '/lib/public/BackgroundJob/TimedJob.php', + 'OCP\\BeforeSabrePubliclyLoadedEvent' => $baseDir . '/lib/public/BeforeSabrePubliclyLoadedEvent.php', 'OCP\\Broadcast\\Events\\IBroadcastEvent' => $baseDir . '/lib/public/Broadcast/Events/IBroadcastEvent.php', 'OCP\\Cache\\CappedMemoryCache' => $baseDir . '/lib/public/Cache/CappedMemoryCache.php', 'OCP\\Calendar\\BackendTemporarilyUnavailableException' => $baseDir . '/lib/public/Calendar/BackendTemporarilyUnavailableException.php', diff --git a/lib/composer/composer/autoload_static.php b/lib/composer/composer/autoload_static.php index a35df71e376..eec226c9a6e 100644 --- a/lib/composer/composer/autoload_static.php +++ b/lib/composer/composer/autoload_static.php @@ -147,6 +147,7 @@ class ComposerStaticInit749170dad3f5e7f9ca158f5a9f04f6a2 'OCP\\BackgroundJob\\Job' => __DIR__ . '/../../..' . '/lib/public/BackgroundJob/Job.php', 'OCP\\BackgroundJob\\QueuedJob' => __DIR__ . '/../../..' . '/lib/public/BackgroundJob/QueuedJob.php', 'OCP\\BackgroundJob\\TimedJob' => __DIR__ . '/../../..' . '/lib/public/BackgroundJob/TimedJob.php', + 'OCP\\BeforeSabrePubliclyLoadedEvent' => __DIR__ . '/../../..' . '/lib/public/BeforeSabrePubliclyLoadedEvent.php', 'OCP\\Broadcast\\Events\\IBroadcastEvent' => __DIR__ . '/../../..' . '/lib/public/Broadcast/Events/IBroadcastEvent.php', 'OCP\\Cache\\CappedMemoryCache' => __DIR__ . '/../../..' . '/lib/public/Cache/CappedMemoryCache.php', 'OCP\\Calendar\\BackendTemporarilyUnavailableException' => __DIR__ . '/../../..' . '/lib/public/Calendar/BackendTemporarilyUnavailableException.php', diff --git a/lib/public/SabrePublicPluginEvent.php b/lib/public/BeforeSabrePubliclyLoadedEvent.php index 5c288c82b94..afb68a8a952 100644 --- a/lib/public/SabrePublicPluginEvent.php +++ b/lib/public/BeforeSabrePubliclyLoadedEvent.php @@ -21,5 +21,11 @@ */ namespace OCP; -class SabrePublicPluginEvent extends SabrePluginEvent { +/** + * Dispatched before Sabre is loaded when accessing public webdav endpoints + * This can be used to inject a Sabre plugin for example + * + * @since 26.0.0 + */ +class BeforeSabrePubliclyLoadedEvent extends SabrePluginEvent { } |