mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-06-28 06:58:43 +02:00
Fix deprecated calls to NotificationTarget class
This commit is contained in:
@ -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');
|
||||
|
Reference in New Issue
Block a user