summaryrefslogtreecommitdiff
path: root/includes/bootstrap.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-04-15 15:36:10 +0000
committerDries Buytaert <dries@buytaert.net>2007-04-15 15:36:10 +0000
commitf4cbd7c63d0b3cc221b079ecff99a4693de3dabd (patch)
treefb42f0450a1fc221480e1600de4866133045946d /includes/bootstrap.inc
parent125dbb1ab29c95962abdd5e405cd103a0f617ff0 (diff)
downloadbrdo-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 'includes/bootstrap.inc')
-rw-r--r--includes/bootstrap.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index 4046cbd7b..1a5fca334 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -372,7 +372,7 @@ function variable_init($conf = array()) {
while ($variable = db_fetch_object($result)) {
$variables[$variable->name] = unserialize($variable->value);
}
- cache_set('variables', 'cache', serialize($variables));
+ cache_set('variables', serialize($variables));
}
foreach ($conf as $name => $value) {