this code will never be reached
authorMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 13 Jan 2011 01:37:42 +0000 (20:37 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 13 Jan 2011 01:43:02 +0000 (20:43 -0500)
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

index 4a6ffca..cac5c2a 100644 (file)
@@ -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;
-                    }
                 }
             }
         }