summaryrefslogtreecommitdiff
path: root/app/php/controls/RegistrationForm.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/php/controls/RegistrationForm.php')
-rw-r--r--app/php/controls/RegistrationForm.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/php/controls/RegistrationForm.php b/app/php/controls/RegistrationForm.php
index 71d4df1..2ffe507 100644
--- a/app/php/controls/RegistrationForm.php
+++ b/app/php/controls/RegistrationForm.php
@@ -1,8 +1,10 @@
<?php
+Prado::using('Application.components.TemplateControl');
+
Prado::using('Application.model.User');
-class RegistrationForm extends TTemplateControl {
+class RegistrationForm extends TemplateControl {
public function checkUsername($sender, $param) {
$param->IsValid = !User::finder()->countByLogin($this->Login->SafeText);