diff options
author | Andrey Andreev <narf@devilix.net> | 2014-05-31 19:29:09 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2014-05-31 19:29:09 +0200 |
commit | 0b18634e32efbafb83746c123b7d058b1570a01d (patch) | |
tree | 13e49d264365e51aef36d195e08f5d404684a087 /system/libraries/Driver.php | |
parent | e80b3773c1a2362257298320beff505bcae73b72 (diff) |
Changelog messages, bump year in copyright notices
Diffstat (limited to 'system/libraries/Driver.php')
-rw-r--r-- | system/libraries/Driver.php | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/system/libraries/Driver.php b/system/libraries/Driver.php index 4912c4aa7..9ae7b0c7c 100644 --- a/system/libraries/Driver.php +++ b/system/libraries/Driver.php @@ -6,7 +6,7 @@ * * @package CodeIgniter * @author EllisLab Dev Team - * @copyright Copyright (c) 2006 - 2012, EllisLab, Inc. + * @copyright Copyright (c) 2006 - 2014, EllisLab, Inc. * @license http://codeigniter.com/user_guide/license.html * @link http://codeigniter.com * @since Version 1.0 @@ -43,11 +43,11 @@ class CI_Driver_Library { // The class will be prefixed with the parent lib $child_class = $this->lib_name.'_'.$child; - + // Remove the CI_ prefix and lowercase $lib_name = ucfirst(strtolower(str_replace('CI_', '', $this->lib_name))); $driver_name = strtolower(str_replace('CI_', '', $child_class)); - + if (in_array($driver_name, array_map('strtolower', $this->valid_drivers))) { // check and see if the driver is in a separate file @@ -220,8 +220,6 @@ class CI_Driver { } } - // -------------------------------------------------------------------- - } // END CI_Driver CLASS |