aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/User/Events/UserDeletedEvent.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/User/Events/UserDeletedEvent.php')
-rw-r--r--lib/public/User/Events/UserDeletedEvent.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/public/User/Events/UserDeletedEvent.php b/lib/public/User/Events/UserDeletedEvent.php
index c5b8e11c888..9b74ff96063 100644
--- a/lib/public/User/Events/UserDeletedEvent.php
+++ b/lib/public/User/Events/UserDeletedEvent.php
@@ -34,4 +34,11 @@ class UserDeletedEvent extends Event {
public function getUser(): IUser {
return $this->user;
}
+
+ /**
+ * @since 31.0.0
+ */
+ public function getUid(): string {
+ return $this->user->getUID();
+ }
}