summaryrefslogtreecommitdiff
path: root/app/php/pages
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-05-06 15:40:50 +0200
committeremkael <emkael@tlen.pl>2016-05-06 15:40:50 +0200
commita43e887c380fc414121792658136a34051526b6a (patch)
tree1816ec713671d02dd3d24e92c2f4675f7deab30d /app/php/pages
parent5bfe174b5907440a4f08bd45fd9c384ab5c58037 (diff)
* DbUser refactored to use a facade
Diffstat (limited to 'app/php/pages')
-rw-r--r--app/php/pages/Profile.page2
-rw-r--r--app/php/pages/Signup.page4
2 files changed, 5 insertions, 1 deletions
diff --git a/app/php/pages/Profile.page b/app/php/pages/Profile.page
index 7bd6718..163d3fa 100644
--- a/app/php/pages/Profile.page
+++ b/app/php/pages/Profile.page
@@ -1,9 +1,11 @@
<com:TContent ID="Content">
<com:PasswordChange>
+ <prop:Facade><%= UserFacade::getInstance() %></prop:Facade>
<prop:UserToChange><%= $this->User %></prop:UserToChange>
</com:PasswordChange>
<br />
<com:TimezoneSelect>
+ <prop:Facade><%= UserFacade::getInstance() %></prop:Facade>
<prop:UserToChange><%= $this->User %></prop:UserToChange>
</com:TimezoneSelect>
<br />
diff --git a/app/php/pages/Signup.page b/app/php/pages/Signup.page
index da863d4..834b7cf 100644
--- a/app/php/pages/Signup.page
+++ b/app/php/pages/Signup.page
@@ -1,3 +1,5 @@
<com:TContent ID="Content">
- <com:RegistrationForm />
+ <com:RegistrationForm>
+ <prop:Facade><%= UserFacade::getInstance() %></prop:Facade>
+ </com:RegistrationForm>
</com:TContent>