From: Michael J. Rubinsky Date: Thu, 13 Jan 2011 01:37:42 +0000 (-0500) Subject: this code will never be reached X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=6e92cd7cc770a72fbb85e17bdf202fbca62f8595;p=horde.git this code will never be reached Since the conditional was added to test for 'internal_' calendars, this could *never* be a resource calendar. Not sure this block even ever made sense anyway...remove it. --- diff --git a/kronolith/lib/FreeBusy.php b/kronolith/lib/FreeBusy.php index 4a6ffca17..cac5c2a84 100644 --- a/kronolith/lib/FreeBusy.php +++ b/kronolith/lib/FreeBusy.php @@ -43,11 +43,6 @@ class Kronolith_FreeBusy $user = $share->get('owner'); break; } catch (Horde_Exception $e) { - /* Might be a Kronolith_Resource. */ - if (Kronolith_Resource::isResourceCalendar($calendar)) { - $user = $calendar; - break; - } } } }