From 4a2e2265814ad3a4e40744a331a4fcbcf28cf0e7 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Thu, 2 Apr 2026 18:47:27 +0200 Subject: no notifications received, code path unused --- itjs.class | 5 ----- 1 file changed, 5 deletions(-) diff --git a/itjs.class b/itjs.class index 6a59bbd..458d7be 100644 --- a/itjs.class +++ b/itjs.class @@ -164,11 +164,6 @@ static function crcurl($url, $p = array()) { if (it::match('^(http|//)', $url)) # remote url, must fetch to crc list($fn, $short_expire) = array(it_url::get_cache(array('url' => $url, 'maxage' => 3600, 'id' => "itjs_crcurl") + $p), false); - else - { - it::error(['to' => "mueller", 'title' => "old code path still used with $url"]); # FIXME 2026-02 UM remove code path - list($fn, $short_expire) = array(($m = it::match("^//(\w+)(/.*)", $url)) ? "/www/$m[0].search.ch" . $m[1] : $GLOBALS['ULTRAHOME'] . "/doc$url", true);; - } return it::match('#', $url) ? U(trim($url, "#")) : U($url, array('c' => self::checksum(array($fn), array('short_expire' => $short_expire)))); } -- cgit v1.2.3