"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/backend/kopano/kopano.php" between
Z-Push-2.6.3.tar.gz and Z-Push-2.6.4.tar.gz

About: Z-Push is an PHP application to synchronize ActiveSync compatible devices such as mobile phones, tablets and Outlook 2013 and above. Hint: This is an unofficial tarball offered by the read-only GitHub mirror. Recommended is an installation via the Z-Push git repository.

kopano.php  (Z-Push-2.6.3):kopano.php  (Z-Push-2.6.4)
skipping to change at line 960 skipping to change at line 960
// Process the meeting response. We don't have to send the actual meetin g response // Process the meeting response. We don't have to send the actual meetin g response
// e-mail, because the device will send it itself. This seems not to be the case // e-mail, because the device will send it itself. This seems not to be the case
// anymore for the ios devices since at least version 12.4. Z-Push will send the // anymore for the ios devices since at least version 12.4. Z-Push will send the
// accepted email in such a case. // accepted email in such a case.
// @see https://jira.z-hub.io/browse/ZP-1524 // @see https://jira.z-hub.io/browse/ZP-1524
$sendresponse = false; $sendresponse = false;
$deviceType = strtolower(Request::GetDeviceType()); $deviceType = strtolower(Request::GetDeviceType());
if ($deviceType == 'iphone' || $deviceType == 'ipad' || $deviceType == ' ipod') { if ($deviceType == 'iphone' || $deviceType == 'ipad' || $deviceType == ' ipod') {
$matches = array(); $matches = array();
if (preg_match("/^Apple-.*?\/(\d{4})\./", Request::GetUserAgent(), $ matches) && isset($matches[1]) && $matches[1] >= 1607 && matches[1] <= 1707) { if (preg_match("/^Apple-.*?\/(\d{4})\./", Request::GetUserAgent(), $ matches) && isset($matches[1]) && $matches[1] >= 1607 && $matches[1] <= 1707) {
ZLog::Write(LOGLEVEL_DEBUG, sprintf("BackendKopano->MeetingRespo nse: iOS device %s->%s", Request::GetDeviceType(), Request::GetUserAgent())); ZLog::Write(LOGLEVEL_DEBUG, sprintf("BackendKopano->MeetingRespo nse: iOS device %s->%s", Request::GetDeviceType(), Request::GetUserAgent()));
$sendresponse = true; $sendresponse = true;
} }
} }
switch($response) { switch($response) {
case 1: // accept case 1: // accept
default: default:
$entryid = $meetingrequest->doAccept(false, $sendresponse, false , false, false, false, true); // last true is the $userAction $entryid = $meetingrequest->doAccept(false, $sendresponse, false , false, false, false, true); // last true is the $userAction
break; break;
case 2: // tentative case 2: // tentative
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)