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];
    }
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];
    }
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 ] ; }
Get the database object.

@return array Containing moodle_database, string, or null values.
Get the database object .