summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/frontend/web/ClientScriptManager.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/frontend/web/ClientScriptManager.php b/app/frontend/web/ClientScriptManager.php
index a26e0d6..b05f9e6 100644
--- a/app/frontend/web/ClientScriptManager.php
+++ b/app/frontend/web/ClientScriptManager.php
@@ -201,7 +201,6 @@ class ClientScriptManager extends TClientScriptManager {
private function _renderExternalScriptFiles(THtmlWriter $writer, array $externalFiles) {
if ($externalFiles) {
foreach ($externalFiles as $file) {
- $this->_setHTTP2PushHeader($file);
$this->markScriptFileAsRendered($file);
$this->_appendRenderedScripts([$file], $file);
}
@@ -441,7 +440,6 @@ class ClientScriptManager extends TClientScriptManager {
if ($externalFiles) {
foreach ($externalFiles as $file) {
$this->_appendRenderedSheets([$file], $file[0]);
- $this->_setHTTP2PushHeader($file[0]);
$this->_renderSheetFileTag($writer, $file[0], $file[1] ?: 'all');
}
}