summaryrefslogtreecommitdiffstats
path: root/system/database/DB_utility.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-01-08 14:27:53 +0100
committerAndrey Andreev <narf@devilix.net>2014-01-08 14:27:53 +0100
commit119d8a7547e155edaaa53682b9247cd7e80d8c9d (patch)
treecfcaa9dae3b642833d80c06b00805ba2d521c953 /system/database/DB_utility.php
parentcab3e1813f71bddfe8f045772e5cb42e76a4d347 (diff)
Optimize get_instance() calls/assignments
Diffstat (limited to 'system/database/DB_utility.php')
-rw-r--r--system/database/DB_utility.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/system/database/DB_utility.php b/system/database/DB_utility.php
index 9f953d4ac..665615909 100644
--- a/system/database/DB_utility.php
+++ b/system/database/DB_utility.php
@@ -282,8 +282,7 @@ abstract class CI_DB_utility {
extract($params);
// Load the xml helper
- $CI =& get_instance();
- $CI->load->helper('xml');
+ get_instance()->load->helper('xml');
// Generate the result
$xml = '<'.$root.'>'.$newline;