Skip to content

Commit

Permalink
Don't report enabled, if api reports otherwise.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Feb 10, 2018
1 parent dafcf6d commit 07ea1bc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/Horde/Core/ActiveSync/Driver.php
Expand Up @@ -2462,7 +2462,9 @@ public function getSettings(array $settings, $device)
}
$res['oof'] = array(
'status' => Horde_ActiveSync_Request_Settings::STATUS_SUCCESS,
'oofstate' => Horde_ActiveSync_Request_Settings::OOF_STATE_ENABLED,
'oofstate' => ($vacation['disabled']
? Horde_ActiveSync_Request_Settings::OOF_STATE_ENABLED
: Horde_ActiveSync_Request_Settings::OOF_STATE_DISABLED)),
'oofmsgs' => array()
);
// If we have start/end it's a timebased vacation in EAS-speak.
Expand Down

0 comments on commit 07ea1bc

Please sign in to comment.