summaryrefslogtreecommitdiffstats
path: root/system/core/Loader.php
diff options
context:
space:
mode:
authorHalmai, Csongor <csongor@halmai.hu>2015-12-08 01:32:35 +0100
committerHalmai, Csongor <csongor@halmai.hu>2015-12-08 01:32:35 +0100
commit0f56007d95a8713f0c4276e37604e221f4efbe66 (patch)
tree2af9264676c1197cf63ff4a84784535b24a90d7a /system/core/Loader.php
parent5ced82ab986f6a53ca95f5498a63ac503ea8f580 (diff)
rolling back previous solution; throwing exception if database connection was not successful.
Diffstat (limited to 'system/core/Loader.php')
-rw-r--r--system/core/Loader.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/system/core/Loader.php b/system/core/Loader.php
index 7593ae5d6..18e4c5287 100644
--- a/system/core/Loader.php
+++ b/system/core/Loader.php
@@ -361,10 +361,6 @@ class CI_Loader {
// Load the DB class
$CI->db =& DB($params, $query_builder);
- if (!$CI->db->conn_id)
- {
- return FALSE;
- }
return $this;
}