-commented some functions

-removed usage of "current_timestamp" in postgresql queries in favour
of php time.
This commit is contained in:
martin 2011-04-14 14:17:56 -04:00
parent ac3853c0fb
commit bf146e7f85
6 changed files with 117 additions and 41 deletions

View file

@ -1,6 +1,6 @@
<?php
class Application_Model_DateHelper
class DateHelper
{
private $_timestamp;
@ -13,7 +13,7 @@ class Application_Model_DateHelper
* Get time of object construction in the format
* YYYY-MM-DD HH:mm:ss
*/
function getDate()
function getTimestamp()
{
return date("Y-m-d H:i:s", $this->_timestamp);
}