git://git.camperquake.de
/
videosite.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e4b992
)
Use API for active connectors
author
Ralf Ertzinger
<ralf@skytale.net>
Wed, 24 Apr 2013 11:38:33 +0000
(13:38 +0200)
committer
Ralf Ertzinger
<ralf@skytale.net>
Wed, 24 Apr 2013 11:38:33 +0000
(13:38 +0200)
videosite/Base.pm
patch
|
blob
|
history
diff --git
a/videosite/Base.pm
b/videosite/Base.pm
index
a081dce
..
3c3dd70
100644
(file)
--- 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 {