source:
sandbox/expressoServiceImap/expressoCalendar/docs/caldav-MOVE.php.diff
@
5411
Revision 5411, 939 bytes checked in by douglas, 13 years ago (diff) |
---|
-
caldav-MOVE.php
old new 108 108 $src_user_no = $src->GetProperty('user_no'); 109 109 $dst_user_no = $dest->GetProperty('user_no'); 110 110 111 /////Expresso 112 if(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 111 125 $cache = getCacheInstance(); 112 126 $cachekeys = array(); 113 127
Note: See TracBrowser
for help on using the repository browser.