feat: listen to user life cycle events
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
@@ -796,4 +796,14 @@ class MetaStore {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete every chronicle entry owned by a user.
|
||||
*/
|
||||
public function chronicleExpungeByUser(string $tenantId, string $userId): void {
|
||||
$this->_store->selectCollection($this->_ChronicleTable)->deleteMany([
|
||||
'tid' => $tenantId,
|
||||
'uid' => $userId,
|
||||
]);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user