summaryrefslogtreecommitdiffstats
path: root/system/database/drivers
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2011-10-10 15:40:46 +0200
committerPhil Sturgeon <email@philsturgeon.co.uk>2011-10-10 15:40:46 +0200
commitbdbe6d222c15e9d1b42a8ee3a3e7fe04b753c1ba (patch)
tree870eb2c4055ac44a4d3197c86854429324a33d61 /system/database/drivers
parent6858c0753a7221796d6a5a1d7fea93cc2f9feb2e (diff)
parenta2097a077474eab1b9d35acc2c93f0e99a7f12d0 (diff)
Merge pull request #558 from timw4mail/develop
PHP5 Database constructors.
Diffstat (limited to 'system/database/drivers')
-rw-r--r--system/database/drivers/odbc/odbc_driver.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/database/drivers/odbc/odbc_driver.php b/system/database/drivers/odbc/odbc_driver.php
index 08cd27b6c..bcd7937d9 100644
--- a/system/database/drivers/odbc/odbc_driver.php
+++ b/system/database/drivers/odbc/odbc_driver.php
@@ -48,9 +48,9 @@ class CI_DB_odbc_driver extends CI_DB {
var $_random_keyword;
- function CI_DB_odbc_driver($params)
+ function __construct($params)
{
- parent::CI_DB_driver($params);
+ parent::__construct($params);
$this->_random_keyword = ' RND('.time().')'; // database specific random keyword
}