Changeset 1575 for trunk/phpgwapi


Ignore:
Timestamp:
11/03/09 16:25:43 (14 years ago)
Author:
amuller
Message:

Ticket #597 - Implentação, melhorias do modulo gerenciador de arquivos

Location:
trunk/phpgwapi
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpgwapi/inc/class.vfs_sql.inc.php

    r1535 r1575  
    5252                        $this->working_id = $GLOBALS['phpgw_info']['user']['account_id']; 
    5353                        $this->working_lid = $GLOBALS['phpgw']->accounts->id2name($this->working_id); 
    54                         $this->now = date ('Y-m-d'); 
     54                        $this->now = date ('Y-m-d H:i:s'); 
    5555 
    5656                        /* 
  • trunk/phpgwapi/setup/tables_current.inc.php

    r2 r1575  
    319319                                'createdby_id' => array('type' => 'int','precision' => '4'), 
    320320                                'modifiedby_id' => array('type' => 'int','precision' => '4'), 
    321                                 'created' => array('type' => 'date','nullable' => False,'default' => '1970-01-01'), 
    322                                 'modified' => array('type' => 'date'), 
     321                                'created' => array('type' => 'timestamp','nullable' => False,'default' => '0'), 
     322                                'modified' => array('type' => 'timestamp'), 
    323323                                'size' => array('type' => 'int','precision' => '4'), 
    324324                                'mime_type' => array('type' => 'varchar','precision' => '64'), 
Note: See TracChangeset for help on using the changeset viewer.