Keep up with D8 - no more GLOBALS['databases'] - http://drupal.org/node/2176621