diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-04-15 15:36:10 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-04-15 15:36:10 +0000 |
commit | f4cbd7c63d0b3cc221b079ecff99a4693de3dabd (patch) | |
tree | fb42f0450a1fc221480e1600de4866133045946d /modules | |
parent | 125dbb1ab29c95962abdd5e405cd103a0f617ff0 (diff) | |
download | brdo-f4cbd7c63d0b3cc221b079ecff99a4693de3dabd.tar.gz brdo-f4cbd7c63d0b3cc221b079ecff99a4693de3dabd.tar.bz2 |
- Patch #118660 by agentrickard: re-order arguments of cache_set() to match PHP/Drupal conventions.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/filter/filter.module | 2 | ||||
-rw-r--r-- | modules/locale/locale.module | 2 |
2 files changed, 2 insertions, 2 deletions
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)); } } |