egroupware/calendar/inc/class.php5_notification.inc.php

12 lines
229 B
PHP
Raw Normal View History

<?php
$notification = new notification();
$notification->set_message($body);
$notification->set_receivers(array($userid));
try {
$notification->send();
}
catch(Exception $exception) {
error_log($exception->getMessage());
}
?>