Ignore:
Timestamp:
05/14/12 22:52:20 (12 years ago)
Author:
natan
Message:

Ticket #2730 - Inconsistências na alteração de eventos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/prototype/modules/calendar/interceptors/DBMapping.php

    r6177 r6183  
    99 
    1010    public function encodeCreateSchedulable(&$uri, &$params, &$criteria, $original) { 
     11        self::encodeSchedulable($params); 
     12    } 
     13 
     14    static function encodeSchedulable(&$params) { 
    1115        $params['type_id'] = EVENT_ID; 
    1216 
     
    3135        $params['lastUpdate'] = (isset($params['lastUpdate'])) ? $params['lastUpdate'] : time() . '000'; 
    3236        $params['type'] = EVENT_ID; 
    33         $params['uid'] = isset($params['uid']) ? $params['uid'] : $this->_makeUid(); 
     37        $params['uid'] = isset($params['uid']) ? $params['uid'] : self::_makeUid(); 
    3438    } 
    3539 
     
    922926    } 
    923927 
    924     private function _makeUid() { 
     928    private static function _makeUid() { 
    925929 
    926930        $date = date('Ymd\THisT'); 
Note: See TracChangeset for help on using the changeset viewer.