diff options
author | Morris Jobke <hey@morrisjobke.de> | 2020-07-30 10:21:03 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2020-07-30 10:21:08 +0200 |
commit | 084f5063f2437ae087f4df092b5bb60019354e81 (patch) | |
tree | 15187c4287240f645962be5290aa9d0594f90365 /lib | |
parent | 4a7d7e446f8598b07fde4db787abc4cf432e9413 (diff) | |
download | nextcloud-server-084f5063f2437ae087f4df092b5bb60019354e81.tar.gz nextcloud-server-084f5063f2437ae087f4df092b5bb60019354e81.zip |
Deprecate BeforeUserRemovedEvent because it can't be triggered in all cases
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/public/Group/Events/BeforeUserRemovedEvent.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/public/Group/Events/BeforeUserRemovedEvent.php b/lib/public/Group/Events/BeforeUserRemovedEvent.php index cc657f952e6..0690cfbdc26 100644 --- a/lib/public/Group/Events/BeforeUserRemovedEvent.php +++ b/lib/public/Group/Events/BeforeUserRemovedEvent.php @@ -32,6 +32,7 @@ use OCP\IUser; /** * @since 18.0.0 + * @deprecated 20.0.0 */ class BeforeUserRemovedEvent extends Event { @@ -43,6 +44,7 @@ class BeforeUserRemovedEvent extends Event { /** * @since 18.0.0 + * @deprecated 20.0.0 */ public function __construct(IGroup $group, IUser $user) { parent::__construct(); @@ -53,6 +55,7 @@ class BeforeUserRemovedEvent extends Event { /** * @return IGroup * @since 18.0.0 + * @deprecated 20.0.0 */ public function getGroup(): IGroup { return $this->group; @@ -61,6 +64,7 @@ class BeforeUserRemovedEvent extends Event { /** * @return IUser * @since 18.0.0 + * @deprecated 20.0.0 */ public function getUser(): IUser { return $this->user; |