remove global db variable

This commit is contained in:
redmatrix
2016-04-25 16:55:33 -07:00
parent 6291c08e01
commit c3b0c0f32a
6 changed files with 85 additions and 96 deletions

View File

@@ -2035,7 +2035,7 @@ function get_site_info() {
'admin' => $admin,
'site_name' => (($site_name) ? $site_name : ''),
'platform' => Zotlabs\Project\System::get_platform_name(),
'dbdriver' => $db->getdriver(),
'dbdriver' => \DBA::$dba->getdriver(),
'lastpoll' => get_config('system','lastpoll'),
'info' => (($site_info) ? $site_info : ''),
'channels_total' => $channels_total_stat,