From f4cbd7c63d0b3cc221b079ecff99a4693de3dabd Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 15 Apr 2007 15:36:10 +0000 Subject: - Patch #118660 by agentrickard: re-order arguments of cache_set() to match PHP/Drupal conventions. --- modules/filter/filter.module | 2 +- modules/locale/locale.module | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/filter/filter.module b/modules/filter/filter.module index 337ecfaee..b3303fc36 100644 --- a/modules/filter/filter.module +++ b/modules/filter/filter.module @@ -777,7 +777,7 @@ function check_markup($text, $format = FILTER_FORMAT_DEFAULT, $check = TRUE) { // Store in cache with a minimum expiration time of 1 day. if ($cache) { - cache_set($id, 'cache_filter', $text, time() + (60 * 60 * 24)); + cache_set($id, $text, 'cache_filter', time() + (60 * 60 * 24)); } } else { diff --git a/modules/locale/locale.module b/modules/locale/locale.module index 3eecc4562..a3d0438d3 100644 --- a/modules/locale/locale.module +++ b/modules/locale/locale.module @@ -268,7 +268,7 @@ function locale_refresh_cache() { while ($data = db_fetch_object($result)) { $t[$data->source] = (empty($data->translation) ? TRUE : $data->translation); } - cache_set('locale:'. $language->language, 'cache', serialize($t)); + cache_set('locale:'. $language->language, serialize($t)); } } -- cgit v1.2.3