summaryrefslogtreecommitdiff
path: root/includes/common.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/common.inc')
-rw-r--r--includes/common.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 6bc3b328f..b101ddc56 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -1871,8 +1871,8 @@ function drupal_add_js($data = NULL, $type = 'module', $scope = 'header', $defer
*/
function drupal_get_js($scope = 'header', $javascript = NULL) {
global $update_mode;
- if (empty($update_mode) && function_exists('locale_inc_callback')) {
- locale_inc_callback('_locale_update_js_files');
+ if (empty($update_mode) && function_exists('locale_update_js_files')) {
+ locale_update_js_files();
}
if (!isset($javascript)) {