Refactor Appbox

This commit is contained in:
Romain Neutron
2012-02-21 16:09:34 +01:00
parent 6ce734c50d
commit 1d6eb86c90
5 changed files with 21 additions and 11 deletions

View File

@@ -710,7 +710,7 @@ class Session_Handler
$rs[$k]['created_on'] = new DateTime($row['created_on']);
$rs[$k]['lastaccess'] = new DateTime($row['lastaccess']);
$rs[$k]['token'] = !!$row['token'];
$rs[$k]['usr_id'] = User_Adapter::getInstance($row['usr_id'], appbox::get_instance());
$rs[$k]['usr_id'] = User_Adapter::getInstance($row['usr_id'], appbox::get_instance(\bootstrap::getCore()));
$datas = $geonames->find_geoname_from_ip($row['ip']);