summaryrefslogtreecommitdiffstats
path: root/system/database
diff options
context:
space:
mode:
Diffstat (limited to 'system/database')
-rw-r--r--system/database/DB_driver.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php
index fafce45c7..4a806299b 100644
--- a/system/database/DB_driver.php
+++ b/system/database/DB_driver.php
@@ -1,4 +1,4 @@
-<?php
+<?php
/**
* CodeIgniter
*
@@ -676,12 +676,6 @@ abstract class CI_DB_driver {
return TRUE;
}
- // Return TRUE if we don't need to create a result object
- if ($return_object !== TRUE)
- {
- return TRUE;
- }
-
// Load and instantiate the result driver
$driver = $this->load_rdriver();
$RES = new $driver($this);