mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-06-28 06:58:43 +02:00
Fix NotificationTarget::datas deprecated access
This commit is contained in:
@ -41,6 +41,6 @@ class PluginExampleNotificationTargetExample extends NotificationTarget {
|
||||
function getDatasForTemplate($event, $options=array()) {
|
||||
global $DB, $CFG_GLPI;
|
||||
|
||||
$this->datas['##example.name##'] = __('Example', 'example');
|
||||
$this->data['##example.name##'] = __('Example', 'example');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user