diff --git a/lib/javascript.php b/lib/javascript.php index 0cb40672e3f..f8ad74c8dc9 100644 --- a/lib/javascript.php +++ b/lib/javascript.php @@ -106,4 +106,4 @@ $content = ''; foreach ($jsfiles as $jsfile) { $content .= file_get_contents($jsfile)."\n"; } -js_send_uncached($content, $etag); +js_send_uncached($content); diff --git a/lib/requirejs.php b/lib/requirejs.php index 7cc8d0f64c6..607cf93e24e 100644 --- a/lib/requirejs.php +++ b/lib/requirejs.php @@ -141,4 +141,4 @@ foreach ($jsfiles as $modulename => $jsfile) { $js = implode($replace, explode($search, $js, 2)); $content .= $js; } -js_send_uncached($content, $etag, 'requirejs.php'); +js_send_uncached($content, 'requirejs.php');