summaryrefslogtreecommitdiff
path: root/includes/locale.inc
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2008-10-09 00:02:29 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2008-10-09 00:02:29 +0000
commitf841d1a764c4aa6aa6d2a58daa401be615f4e873 (patch)
treeeac1b6d3c4325d926f06e036a337746d03edb9fc /includes/locale.inc
parent72e09d7beb7788a3a1f473c0d7a7a4802a5dc75a (diff)
downloadbrdo-f841d1a764c4aa6aa6d2a58daa401be615f4e873.tar.gz
brdo-f841d1a764c4aa6aa6d2a58daa401be615f4e873.tar.bz2
#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. :)
Diffstat (limited to 'includes/locale.inc')
-rw-r--r--includes/locale.inc2
1 files changed, 1 insertions, 1 deletions
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';
}