diff options
author | Urban Müller | 2023-09-04 18:26:20 +0200 |
---|---|---|
committer | Urban Müller | 2023-09-04 18:26:56 +0200 |
commit | 5ad3fcb753b2f2d10ee60d9a2e9b7df6c93bcd3b (patch) | |
tree | 61e479a65aa5fa648444e976dbbd8d08d9f31f33 | |
parent | 6a67ff9f5d045a5fdde2db887605850741b1cffa (diff) | |
download | itools-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.class | 2 |
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]; } |