Permalink
Browse files

remove "call-time pass reference" notice

git-svn-id: svn://dklab.ru/lib/DbSimple/trunk@186 78bb956b-1e24-0410-b8d0-c528fdc9eae3
  • Loading branch information...
1 parent eec01af commit 777912a0874b4e2d575bd7c9ed9fcc515b558913 dk committed Apr 12, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/DbSimple/Generic.php
View
@@ -131,7 +131,7 @@ function& connect($dsn)
unlink($testFile);
require_once 'Cache' . '/Lite.php'; // "." -> no phpEclipse notice
$t =& new Cache_Lite(array('cacheDir' => $dir.'/', 'lifeTime' => null, 'automaticSerialization' => true));
- $object->setCacher(&$t);
+ $object->_cacher =& $t;
break;
}

0 comments on commit 777912a

Please sign in to comment.