From 330199a2e55d760e595aad6256c09ca74b29b0a9 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Mon, 13 Oct 2014 14:44:39 -0400 Subject: [PATCH] CRM-15450 - Also disable D6 adding inline styles for good measure --- CRM/Utils/System/Drupal6.php | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/CRM/Utils/System/Drupal6.php b/CRM/Utils/System/Drupal6.php index 5c40eaa8c4..bb1a79fde9 100644 --- a/CRM/Utils/System/Drupal6.php +++ b/CRM/Utils/System/Drupal6.php @@ -359,16 +359,8 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase { * @access public */ public function addScript($code, $region) { - switch ($region) { - case 'html-header': - case 'page-footer': - $scope = substr($region, 5); - break; - default: - return FALSE; - } - drupal_add_js($code, 'inline', $scope); - return TRUE; + // CRM-15450 - ensure scripts are in correct order + return FALSE; } /** -- 2.25.1