summaryrefslogtreecommitdiff
path: root/app/frontend/events/RegistrationEvents.php
blob: 21bcff39e0a52386beded2973e01985a82190e1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

Prado::using('Application.events.EventModule');
Prado::using('Application.model.User');
Prado::using('Application.facades.UserFacade');

class RegistrationEvents extends EventModule {

    public function onUserRegistered(User $user) {
        $facade = UserFacade::getInstance();
        $facade->requestActivation($user);
    }

}

?>