Skip to content

Commit

Permalink
Not needed, we bail out earlier if $event->attendees is false-ish.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Feb 24, 2015
1 parent e4b00f0 commit aa9d5e4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions kronolith/lib/Kronolith.php
Expand Up @@ -1949,10 +1949,8 @@ public static function sendITipNotifications(
break;
}

if ($event->attendees) {
$view->attendees = strval(self::getAttendeeEmailList($event->attendees));
$view->organizer = $registry->convertUserName($event->creator, false);
}
$view->attendees = strval(self::getAttendeeEmailList($event->attendees));
$view->organizer = $registry->convertUserName($event->creator, false);

if ($action == self::ITIP_REQUEST) {
$attend_link = Horde::url('attend.php', true, -1)
Expand Down

0 comments on commit aa9d5e4

Please sign in to comment.