original_string: protected static function get_database_and_table() {
          $manager = get_log_manager();
          $store = new \logstore_database\log\store($manager);
          $db = $store->get_extdb();
          return $db ? [$db, $store->get_config_value('dbtable')] : [null, null];
      }
code: protected static function get_database_and_table() {
          $manager = get_log_manager();
          $store = new \logstore_database\log\store($manager);
          $db = $store->get_extdb();
          return $db ? [$db, $store->get_config_value('dbtable')] : [null, null];
      }
code_tokens: protected static function get_database_and_table ( ) { $ manager = get_log_manager ( ) ; $ store = new \ logstore_database \ log \ store ( $ manager ) ; $ db = $ store -> get_extdb ( ) ; return $ db ? [ $ db , $ store -> get_config_value ( 'dbtable' ) ] : [ null , null ] ; }
docstring: Get the database object.
  
  @return array Containing moodle_database, string, or null values.
docstring_tokens: Get the database object .