summaryrefslogtreecommitdiff
path: root/demos/time-tracker/protected/pages/TimeTracker/Login.php
diff options
context:
space:
mode:
authorwei <>2006-07-28 06:06:32 +0000
committerwei <>2006-07-28 06:06:32 +0000
commit5fc75a5f53fa07971b604c5318da5bf07379ef89 (patch)
tree2a88f91df64f0182e245e3b87ee3c2658fdc06aa /demos/time-tracker/protected/pages/TimeTracker/Login.php
parentcaa348ceabba58447bf8deddb8c6316ff3dc88ce (diff)
Complete Time-Tracker demo app.
Diffstat (limited to 'demos/time-tracker/protected/pages/TimeTracker/Login.php')
-rw-r--r--demos/time-tracker/protected/pages/TimeTracker/Login.php16
1 files changed, 0 insertions, 16 deletions
diff --git a/demos/time-tracker/protected/pages/TimeTracker/Login.php b/demos/time-tracker/protected/pages/TimeTracker/Login.php
index d8c5182f..aa12e716 100644
--- a/demos/time-tracker/protected/pages/TimeTracker/Login.php
+++ b/demos/time-tracker/protected/pages/TimeTracker/Login.php
@@ -1,7 +1,4 @@
<?php
-
-Prado::using('Application.App_Data.ezpdo.Models.*');
-
/**
* Login Page class file.
*
@@ -26,19 +23,6 @@ Prado::using('Application.App_Data.ezpdo.Models.*');
*/
class Login extends TPage
{
-
- function onLoad($param)
- {
- //$category = new TimeEntryCategory();
- $ezpdo = $this->Application->Modules['ezpdo']->getConnection();
- //$cats = $ezpdo->find('from TimeEntryCategory');
- $category = $ezpdo->create('TimeEntryCategory');
- //$category->Name = "Category 1";
- //$category->Abbreviation = "CAT1";
- var_dump($category);
- //$ezpdo->commit($category);
- }
-
/**
* Validates the username and password.
* @param TControl custom validator that created the event.