Fixing CacheHelper test

This commit is contained in:
José Lorenzo Rodríguez 2010-12-21 22:15:21 -04:30
parent 5e6926f01b
commit 6bd735955d

View file

@ -79,8 +79,7 @@ if (!empty($filePresent)):
if (!class_exists('ConnectionManager')) { if (!class_exists('ConnectionManager')) {
require LIBS . 'model' . DS . 'connection_manager.php'; require LIBS . 'model' . DS . 'connection_manager.php';
} }
$db = ConnectionManager::getInstance(); $connected = ConnectionManager::getDataSource('default');
$connected = $db->getDataSource('default');
?> ?>
<p> <p>
<span class="notice"> <span class="notice">