summaryrefslogtreecommitdiffstats
path: root/system/database/DB_cache.php
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/DB_cache.php
parent6858c0753a7221796d6a5a1d7fea93cc2f9feb2e (diff)
parenta2097a077474eab1b9d35acc2c93f0e99a7f12d0 (diff)
Merge pull request #558 from timw4mail/develop
PHP5 Database constructors.
Diffstat (limited to 'system/database/DB_cache.php')
-rw-r--r--system/database/DB_cache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/DB_cache.php b/system/database/DB_cache.php
index 3bf065ca5..ad1c28d72 100644
--- a/system/database/DB_cache.php
+++ b/system/database/DB_cache.php
@@ -33,7 +33,7 @@ class CI_DB_Cache {
* Grabs the CI super object instance so we can access it.
*
*/
- function CI_DB_Cache(&$db)
+ function __construct(&$db)
{
// Assign the main CI object to $this->CI
// and load the file helper since we use it a lot