diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-05-14 03:38:49 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-05-14 03:38:49 +0000 |
commit | 16a30f195891cb0d6d4e557425910f7cd7d971cd (patch) | |
tree | 08605ac67c81e356d3c7976fef3f7070a8acd760 | |
parent | ac8c96f42faf92522a842962679ecf3019d4eec8 (diff) | |
download | brdo-16a30f195891cb0d6d4e557425910f7cd7d971cd.tar.gz brdo-16a30f195891cb0d6d4e557425910f7cd7d971cd.tar.bz2 |
#721400 follow-up by pwolanin: Remove unnecessary query strings from CSS/JS files.
-rw-r--r-- | includes/common.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/common.inc b/includes/common.inc index 7f1cae77d..acc37479e 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -3019,7 +3019,7 @@ function drupal_pre_render_styles($elements) { // for the aggregate file. if (isset($group['data'])) { $element = $link_element_defaults; - $element['#attributes']['href'] = file_create_url($group['data']) . '?' . $query_string; + $element['#attributes']['href'] = file_create_url($group['data']); $element['#attributes']['media'] = $group['media']; $element['#browsers'] = $group['browsers']; $elements[] = $element; @@ -3802,7 +3802,7 @@ function drupal_get_js($scope = 'header', $javascript = NULL) { // Only include the file if was written successfully. Errors are logged // using watchdog. if ($uri) { - $preprocess_file = file_create_url($uri) . '?' . $default_query_string; + $preprocess_file = file_create_url($uri); $js_element = $element; $js_element['#attributes']['src'] = $preprocess_file; $processed[$key] = theme('html_tag', array('element' => $js_element)); |