From f841d1a764c4aa6aa6d2a58daa401be615f4e873 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Thu, 9 Oct 2008 00:02:29 +0000 Subject: #142995 by dopry, drewish, quicksketch, jpetso, and flobruit: Adding hook_file_X(). This is an enabler of lots and lots of goodies. See CHANGELOG.txt for more. Awesome work, guys. :) --- includes/locale.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/locale.inc') diff --git a/includes/locale.inc b/includes/locale.inc index 950a2a36b..3d87909d4 100644 --- a/includes/locale.inc +++ b/includes/locale.inc @@ -2165,7 +2165,7 @@ function _locale_rebuild_js($langcode = NULL) { // Save the file. $dest = $dir . '/' . $language->language . '_' . $data_hash . '.js'; - if (file_save_data($data, $dest)) { + if (file_unmanaged_save_data($data, $dest)) { $language->javascript = $data_hash; $status = ($status == 'deleted') ? 'updated' : 'created'; } -- cgit v1.2.3