Browse Source

Deprecate panel register event right away but keep it for not breaking backward compatible apps

Signed-off-by: Julius Härtl <jus@bitgrid.net>
tags/v20.0.0beta1
Julius Härtl 4 years ago
parent
commit
f7c04b0415
No account linked to committer's email address
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      lib/public/Dashboard/IRegisterPanelEvent.php

+ 6
- 0
lib/public/Dashboard/IRegisterPanelEvent.php View 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;

Loading…
Cancel
Save