summaryrefslogtreecommitdiff
path: root/app/php/controls/RegistrationForm.php
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-05-06 15:35:54 +0200
committeremkael <emkael@tlen.pl>2016-05-06 15:35:54 +0200
commit5bfe174b5907440a4f08bd45fd9c384ab5c58037 (patch)
tree892497280128fa06b373b0c8a608e5624b26ec53 /app/php/controls/RegistrationForm.php
parent2e9216dcf303917764d4af622dcd212ec1491889 (diff)
* common super-class for template controls using a facade
Diffstat (limited to 'app/php/controls/RegistrationForm.php')
-rw-r--r--app/php/controls/RegistrationForm.php4
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);