diff options
author | Túbal Martín <tubalmartin@gmail.com> | 2011-11-24 14:43:45 +0100 |
---|---|---|
committer | Túbal Martín <tubalmartin@gmail.com> | 2011-11-24 14:43:45 +0100 |
commit | 511f225d855919b78df42ff802a513d84afa0693 (patch) | |
tree | 4d22ca6d784126eada3f9a8d0ef0be35fcb4b818 | |
parent | b8188f6a588fbf2a4b9570580999317ba149ecb0 (diff) |
Added dummy _reset_select() method to CI_DB_Driver class to allow Active Record class to be disabled. Otherwise a fatal error is triggered.
-rw-r--r-- | system/database/DB_driver.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php index 3680b85c2..8f530b482 100644 --- a/system/database/DB_driver.php +++ b/system/database/DB_driver.php @@ -1381,7 +1381,21 @@ class CI_DB_driver { return $item.$alias; } + + // -------------------------------------------------------------------- + /** + * Dummy method that allows Active Record class to be disabled + * + * This function is used extensively by every db driver. + * + * @access private + * @return void + */ + protected function _reset_select() + { + + } } |