diff options
Diffstat (limited to 'system/libraries')
-rw-r--r-- | system/libraries/Controller.php | 2 | ||||
-rw-r--r-- | system/libraries/Loader.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/system/libraries/Controller.php b/system/libraries/Controller.php index 5fdbd9f9f..da5f2e072 100644 --- a/system/libraries/Controller.php +++ b/system/libraries/Controller.php @@ -409,7 +409,7 @@ class Controller extends CI_Base { * @param bool whether to return the object * @return void */ - function _ci_init_dbutils($db = '', $return = FALSE) + function _ci_init_dbutil($db = '', $return = FALSE) { if ($this->_ci_is_loaded('dbutils') == TRUE AND $return == FALSE) { diff --git a/system/libraries/Loader.php b/system/libraries/Loader.php index b69d3f049..833e37640 100644 --- a/system/libraries/Loader.php +++ b/system/libraries/Loader.php @@ -136,7 +136,7 @@ class CI_Loader { * @param bool whether to return the DB object * @return object */ - function dbutils($db = '', $return = FALSE) + function dbutil($db = '', $return = FALSE) { $obj =& get_instance(); @@ -145,7 +145,7 @@ class CI_Loader { $return = FALSE; } - return $obj->_ci_init_dbutils($db, $return); + return $obj->_ci_init_dbutil($db, $return); } // END dbutils() |