summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2023-09-04 18:26:20 +0200
committerUrban Müller2023-09-04 18:26:56 +0200
commit5ad3fcb753b2f2d10ee60d9a2e9b7df6c93bcd3b (patch)
tree61e479a65aa5fa648444e976dbbd8d08d9f31f33
parent6a67ff9f5d045a5fdde2db887605850741b1cffa (diff)
downloaditools-5ad3fcb753b2f2d10ee60d9a2e9b7df6c93bcd3b.tar.gz
itools-5ad3fcb753b2f2d10ee60d9a2e9b7df6c93bcd3b.tar.bz2
itools-5ad3fcb753b2f2d10ee60d9a2e9b7df6c93bcd3b.zip
::get_cache_contents metadata in php format no longer supported
-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];
}