diff options
author | Andrey Andreev <narf@devilix.net> | 2015-03-26 19:58:19 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2015-03-26 19:58:19 +0100 |
commit | 03404890a5a0ea9c5e02c235a94312741bdf05b2 (patch) | |
tree | b9ff0d6100b38da82ff789cdf32f05272a8c9a87 /system | |
parent | aebd039a61cb5135b31ab0b8d9d95ed3fb678c7b (diff) |
Remove an unnecessary check
#3700 #3706
Diffstat (limited to 'system')
-rw-r--r-- | system/libraries/Calendar.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/system/libraries/Calendar.php b/system/libraries/Calendar.php index 42fa00af2..f6a0c39c4 100644 --- a/system/libraries/Calendar.php +++ b/system/libraries/Calendar.php @@ -130,11 +130,7 @@ class CI_Calendar { public function __construct($config = array()) { $this->CI =& get_instance(); - - if ( ! isset($this->CI->lang->is_loaded['calendar_lang.php'])) - { - $this->CI->lang->load('calendar'); - } + $this->CI->lang->load('calendar'); empty($config) OR $this->initialize($config); |