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:
2
hook.php
2
hook.php
@ -613,7 +613,7 @@ function plugin_example_get_events(NotificationTargetTicket $target) {
|
||||
|
||||
|
||||
function plugin_example_get_datas(NotificationTargetTicket $target) {
|
||||
$target->datas['##ticket.example##'] = __("Example datas", 'example');
|
||||
$target->data['##ticket.example##'] = __("Example datas", 'example');
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user