mirror of
https://github.com/pluginsGLPI/example.git
synced 2026-05-28 09:58:54 +02:00
Fix NotificationTarget::datas deprecated access
This commit is contained in:
@@ -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