mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/17465] Remove obsolete json_decode
PHPBB-17465
This commit is contained in:
parent
c937b8f7ab
commit
e75d7a8410
1 changed files with 1 additions and 4 deletions
|
@ -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);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue