Skip to content

Commit

Permalink
Make these WARN.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Mar 21, 2016
1 parent 5751065 commit 03bc76f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kronolith/lib/Event.php
Expand Up @@ -1678,7 +1678,7 @@ public function fromASAppointment(Horde_ActiveSync_Message_Appointment $message)
$this->start->setTimezone($tz);
} catch (Horde_Date_Exception $e) {
$tz = date_default_timezone_get();
Horde::log(sprintf('Unable to set timezone. Using %s.', $tz), 'ERR');
Horde::log(sprintf('Unable to set timezone. Using %s.', $tz), 'WARN');
$this->start->setTimezone($tz);
}
$this->end = !$message->isGhosted('endtime') ? clone($dates['end']) : $this->end;
Expand Down Expand Up @@ -1799,7 +1799,7 @@ public function fromASAppointment(Horde_ActiveSync_Message_Appointment $message)
$original->setTimezone($tz);
} catch (Horde_Date_Exception $e) {
$tz = date_default_timezone_get();
Horde::log(sprintf('Unable to set timezone. Using %s.', $tz), 'ERR');
Horde::log(sprintf('Unable to set timezone. Using %s.', $tz), 'WARN');
$original->setTimezone($tz);
}
$this->recurrence->addException($original->format('Y'), $original->format('m'), $original->format('d'));
Expand Down Expand Up @@ -1830,7 +1830,7 @@ public function fromASAppointment(Horde_ActiveSync_Message_Appointment $message)
$exceptiondt->setTimezone($tz);
} catch (Horde_Date_Exception $e) {
$tz = date_default_timezone_get();
Horde::log(sprintf('Unable to set timezone. Using %s.', $tz), 'ERR');
Horde::log(sprintf('Unable to set timezone. Using %s.', $tz), 'WARN');
$exceptiondt->setTimezone($tz);
}
$this->recurrence->addException($exceptiondt->format('Y'), $exceptiondt->format('m'), $exceptiondt->format('d'));
Expand Down

0 comments on commit 03bc76f

Please sign in to comment.