commit | 119d8a7547e155edaaa53682b9247cd7e80d8c9d | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@devilix.net> | Wed Jan 08 15:27:53 2014 +0200 |
committer | Andrey Andreev <narf@devilix.net> | Wed Jan 08 15:27:53 2014 +0200 |
tree | cfcaa9dae3b642833d80c06b00805ba2d521c953 | |
parent | cab3e1813f71bddfe8f045772e5cb42e76a4d347 [diff] [blame] |
Optimize get_instance() calls/assignments
diff --git a/system/database/DB_utility.php b/system/database/DB_utility.php index 9f953d4..6656159 100644 --- a/system/database/DB_utility.php +++ b/system/database/DB_utility.php
@@ -282,8 +282,7 @@ extract($params); // Load the xml helper - $CI =& get_instance(); - $CI->load->helper('xml'); + get_instance()->load->helper('xml'); // Generate the result $xml = '<'.$root.'>'.$newline;