From 5ad3fcb753b2f2d10ee60d9a2e9b7df6c93bcd3b Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Mon, 4 Sep 2023 18:26:20 +0200 Subject: ::get_cache_contents metadata in php format no longer supported --- it_url.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it_url.class') 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]; } -- cgit v1.2.3