mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-18 14:03:19 +01:00
12 lines
229 B
PHP
12 lines
229 B
PHP
|
<?php
|
||
|
$notification = new notification();
|
||
|
$notification->set_message($body);
|
||
|
$notification->set_receivers(array($userid));
|
||
|
try {
|
||
|
$notification->send();
|
||
|
}
|
||
|
catch(Exception $exception) {
|
||
|
error_log($exception->getMessage());
|
||
|
}
|
||
|
?>
|