diff --git a/inc/notificationtargetexample.class.php b/inc/notificationtargetexample.class.php index c7702f3..a1f08cf 100644 --- a/inc/notificationtargetexample.class.php +++ b/inc/notificationtargetexample.class.php @@ -38,7 +38,7 @@ class PluginExampleNotificationTargetExample extends NotificationTarget { return array ('alert' => 'alert example'); } - function getDatasForTemplate($event, $options=array()) { + function addDataForTemplate($event, $options=array()) { global $DB, $CFG_GLPI; $this->data['##example.name##'] = __('Example', 'example');