diff options
author | Andrey Andreev <narf@devilix.net> | 2014-01-08 14:27:53 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2014-01-08 14:27:53 +0100 |
commit | 119d8a7547e155edaaa53682b9247cd7e80d8c9d (patch) | |
tree | cfcaa9dae3b642833d80c06b00805ba2d521c953 /system/helpers/language_helper.php | |
parent | cab3e1813f71bddfe8f045772e5cb42e76a4d347 (diff) |
Optimize get_instance() calls/assignments
Diffstat (limited to 'system/helpers/language_helper.php')
-rw-r--r-- | system/helpers/language_helper.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/system/helpers/language_helper.php b/system/helpers/language_helper.php index 4d571a71c..d7aa8e638 100644 --- a/system/helpers/language_helper.php +++ b/system/helpers/language_helper.php @@ -52,8 +52,7 @@ if ( ! function_exists('lang')) */ function lang($line, $for = '', $attributes = array()) { - $CI =& get_instance(); - $line = $CI->lang->line($line); + $line = get_instance()->lang->line($line); if ($for !== '') { |