| 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 | |