summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--it_url.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_url.class b/it_url.class
index 05689c8..426d155 100644
--- a/it_url.class
+++ b/it_url.class
@@ -720,7 +720,7 @@ static function get_cache_contents($p)
$result = it::file_get_contents($fn);
if ($p['assoc'])
{
- $response = it::match('^\{', $result) ? it::json_decode($result, ['assoc' => true]) : unserialize($result); # FIXME 2023-05 UM remove legacy support
+ $response = it::json_decode($result, ['assoc' => true]);
$response['data'] = self::_postprocess($response['data'], $p);
$result = $response + ['cachemiss' => $cachemiss];
}