source: trunk/expressoCalendar/docs/caldav-MOVE.php.diff @ 5411

Revision 5411, 939 bytes checked in by douglas, 12 years ago (diff)

Ticket #2434 - Leiame de instalação e configuração do módulo e DaviCal?

  • caldav-MOVE.php

    old new  
    108108$src_user_no = $src->GetProperty('user_no'); 
    109109$dst_user_no = $dest->GetProperty('user_no'); 
    110110 
     111/////Expresso 
     112if(strpos($request->user_agent, 'ExpressoLivre') === false) //Ignorar eventos do expresso 
     113{ 
     114   $expresso = 'PATH_DO_SEU_EXPRESSO'; 
     115   include_once($expresso.'/prototype/api/controller.php'); 
     116   include_once($expresso.'/prototype/modules/calendar/interceptors/DAViCalAdapter.php'); 
     117 
     118   $src_nameA = explode('/', $src_name); 
     119   $dst_nameA = explode('/', $dst_name); 
     120 
     121   DAViCalAdapter::move($src_nameA[ (count($src_nameA)-2) ],$dst_nameA[ (count($dst_nameA)-2) ],$dest->GetProperty('username')); 
     122} 
     123/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// 
     124 
    111125$cache = getCacheInstance(); 
    112126$cachekeys = array(); 
    113127 
Note: See TracBrowser for help on using the repository browser.