From 6e92cd7cc770a72fbb85e17bdf202fbca62f8595 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Wed, 12 Jan 2011 20:37:42 -0500 Subject: [PATCH] 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. --- kronolith/lib/FreeBusy.php | 5 ----- 1 file changed, 5 deletions(-) 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; - } } } } -- 2.11.0