From b8512b6d8f6e4378f5f0942256a4505a72cc7bc9 Mon Sep 17 00:00:00 2001 From: Ralf Ertzinger Date: Wed, 24 Apr 2013 13:38:33 +0200 Subject: [PATCH] Use API for active connectors --- videosite/Base.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/videosite/Base.pm b/videosite/Base.pm index a081dce..3c3dd70 100644 --- a/videosite/Base.pm +++ b/videosite/Base.pm @@ -11,8 +11,6 @@ use Data::Dumper; sub new { my $class = shift; my $self = {'_DEBUG' => 0, - '_CONNECTORS' => sub { return ({ 'name' => 'direct', - 'schemas' => {} }) }, '_CONNECTOR' => undef, API => { io => sub { printf(@_) }, @@ -261,7 +259,7 @@ sub decode_querystring { sub connectors { my $self = shift; - return $self->{'_CONNECTORS'}->(); + return $self->{_API}->{connectors}->(); } sub selectconn { -- 1.8.3.1