From: Jan Schneider Date: Wed, 11 Aug 2010 10:25:44 +0000 (+0200) Subject: Remove unnecessary wrapper. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=c7375893b2adaf104954d3513a3cc48a17da9fb1;p=horde.git Remove unnecessary wrapper. --- diff --git a/kronolith/lib/Driver/Sql.php b/kronolith/lib/Driver/Sql.php index b6264166b..4a7c48683 100644 --- a/kronolith/lib/Driver/Sql.php +++ b/kronolith/lib/Driver/Sql.php @@ -595,7 +595,7 @@ class Kronolith_Driver_Sql extends Kronolith_Driver } /* Notify users about the changed event. */ - $this->_handleNotifications($event, 'edit'); + Kronolith::sendNotification($event, 'edit'); return $event->id; } @@ -653,7 +653,7 @@ class Kronolith_Driver_Sql extends Kronolith_Driver } /* Notify users about the new event. */ - $this->_handleNotifications($event, 'add'); + Kronolith::sendNotification($event, 'add'); return $id; } @@ -699,11 +699,6 @@ class Kronolith_Driver_Sql extends Kronolith_Driver $tagger->tag($event->uid, $event->tags, $cal->get('owner'), 'event'); } - protected function _handleNotifications($event, $action) - { - Kronolith::sendNotification($event, $action); - } - /** * Moves an event to a new calendar. * @@ -818,7 +813,7 @@ class Kronolith_Driver_Sql extends Kronolith_Driver /* Notify about the deleted event. */ if (!$silent) { - $this->_handleNotifications($event, 'delete'); + Kronolith::sendNotification($event, 'delete'); } /* See if this event represents an exception - if so, touch the base