-commented some functions
-removed usage of "current_timestamp" in postgresql queries in favour of php time.
This commit is contained in:
parent
ac3853c0fb
commit
bf146e7f85
6 changed files with 117 additions and 41 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue