Changeset 6431


Ignore:
Timestamp:
06/06/12 09:51:42 (8 years ago)
Author:
cristiano
Message:

Ticket #2840 - Compatibilização de arquivos caldav

Location:
trunk/expressoCalendar/docs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoCalendar/docs/caldav-DELETE.php.diff

    r5411 r6431  
    1515+     $dav_name = explode('/', $dav_resource->GetProperty('dav_name')); 
    1616+ 
    17 +    DAViCalAdapter::delete($dav_resource->GetProperty('caldav_data') ,array('owner' => $dav_resource->GetProperty('username') , 'calendarName' => $dav_name[ (count($dav_name)-2) ]) ); 
     17+     DAViCalAdapter::delete($dav_resource->GetProperty('caldav_data') ,array('owner' => $dav_resource->GetProperty('username') , 'calendarName' => $dav_name[ (count($dav_name)-3) ]) .'/'. $dav_name[ (count($dav_name)-2) ]); 
    1818+  } 
    1919+/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// 
  • trunk/expressoCalendar/docs/caldav-PUT-vcalendar.php.diff

    r5411 r6431  
    1414+   $params = array(); 
    1515+   $dav_name = explode('/', $dav_resource->GetProperty('dav_name')); 
    16 +   $params['calendarName'] = $dav_name[ (count($dav_name)-2) ]; 
     16+   $params['calendarName'] = $dav_name[ (count($dav_name)-3) ] .'/'. $dav_name[ (count($dav_name)-2) ]; 
    1717+   $params['owner'] =  $session->username; 
    1818+   $params['action'] = $put_action_type; 
Note: See TracChangeset for help on using the changeset viewer.