Permalink
Browse files

Add a parameter to SQLite3 and PDO _close() due to CI_DB_driver being…

… abstract
  • Loading branch information...
1 parent b457a40 commit 918be7963f6fa3461d612ea7ca4c9774c12f9da5 @narfbg narfbg committed Apr 9, 2012
@@ -672,9 +672,10 @@ protected function _limit($sql, $limit, $offset)
/**
* Close DB Connection
*
+ * @param object
* @return void
*/
- protected function _close()
+ protected function _close($conn_id)
{
$this->conn_id = NULL;
}
@@ -417,9 +417,10 @@ protected function _limit($sql, $limit, $offset)
/**
* Close DB Connection
*
+ * @param object (ignored)
* @return void
*/
- protected function _close()
+ protected function _close($conn_id)
{
$this->conn_id->close();
}

0 comments on commit 918be79

Please sign in to comment.