backdrop-contrib / views_json

A Views handler that returns data as JSON objects.
https://backdropcms.org/project/views_json
GNU General Public License v2.0
1 stars 1 forks source link

Drop workarounds for ancient and unsupported PHP versions. #17

Closed indigoxela closed 1 year ago

indigoxela commented 1 year ago

Similar to #15, but a little different.

The same odd version check logic is also attached to other settings, but in this case the form item simply gets disabled for php 8.x.

https://github.com/backdrop-contrib/views_json/blob/1.x-1.x/views/plugins/views_plugin_style_json.inc#L272

We can also drop that workaround here. This will bring back functionality for 7.x and 8.x.