1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-26 03:22:37 +02:00

[ticket/17465] Remove obsolete json_decode

PHPBB-17465
This commit is contained in:
Marc Alexander
2025-02-06 19:48:42 +01:00
parent c937b8f7ab
commit e75d7a8410

View File

@@ -133,10 +133,7 @@ class webpush
$notification_data = $this->get_anonymous_notifications(); $notification_data = $this->get_anonymous_notifications();
} }
// Decode and return data if everything is fine return new JsonResponse($notification_data, 200, [], true);
$data = json_decode($notification_data, true);
return new JsonResponse($data);
} }
/** /**