]> source.dussan.org Git - nextcloud-server.git/commitdiff
Deprecate panel register event right away but keep it for not breaking backward compa...
authorJulius Härtl <jus@bitgrid.net>
Tue, 23 Jun 2020 13:24:50 +0000 (15:24 +0200)
committerJulius Härtl <jus@bitgrid.net>
Wed, 15 Jul 2020 07:28:11 +0000 (09:28 +0200)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
lib/public/Dashboard/IRegisterPanelEvent.php

index f322d87d82d5e749cce4c3123dcd7b24bd5dfd6b..1ca42a6f033e02d945f44a4451a106cdda88d597 100644 (file)
@@ -28,8 +28,14 @@ use OCP\EventDispatcher\Event;
 /**
  * Class IRegisterPanelEvent
  *
+ * This event is dispatched to allow apps supporting older Nextcloud versions to
+ * still register their dashboard panels so that they are only constructed when
+ * they are needed. Deprecated right away so we can drop it again after 19 is EOL
+ * and backward compatible apps can use OCP\AppFramework\Bootstrap\IBootstrap
+ *
  * @package OCP\Dashboard
  * @since 20.0.0
+ * @deprecated 20.0.0
  */
 class IRegisterPanelEvent extends Event {
        private $manager;