class UserObserver

Methods

deleting(User$user)

Remove report files of a user that should be deleted.

Details

at line18
deleting(User$user)

Remove report files of a user that should be deleted.

Use deleting instead of delete event because the DB will automatically remove reports when a user was deleted. So we must do this before the user was deleted.

Parameters

User $user