From 551cffcdbcd0923699b28257e4165734c8cfd9d0 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Mon, 15 Aug 2011 15:20:29 -0500 Subject: [PATCH] Refactor the configuration class for more simplicity. --- system/config.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/system/config.php b/system/config.php index e742b22c..1a95bb36 100644 --- a/system/config.php +++ b/system/config.php @@ -62,14 +62,7 @@ public static function set($key, $value) static::load($module, $file); - if (is_null($key)) - { - static::$items[$module][$file] = $value; - } - else - { - Arr::set(static::$items[$module][$file], $key, $value); - } + Arr::set(static::$items[$module][$file], $key, $value); } /**