diff options
Diffstat (limited to 'app/php/controls/RegistrationForm.php')
-rw-r--r-- | app/php/controls/RegistrationForm.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/php/controls/RegistrationForm.php b/app/php/controls/RegistrationForm.php index 0f24cea..d88fb95 100644 --- a/app/php/controls/RegistrationForm.php +++ b/app/php/controls/RegistrationForm.php @@ -1,10 +1,10 @@ <?php -Prado::using('Application.web.TemplateControl'); +Prado::using('Application.web.FacadeTemplateControl'); Prado::using('Application.model.User'); -class RegistrationForm extends TemplateControl { +class RegistrationForm extends FacadeTemplateControl { public function checkUsername($sender, $param) { $param->IsValid = !User::finder()->countByLogin($this->Login->SafeText); |