Merge branch 'newpc92timings' of /scm/spider into newpc92timings
[spider.git] / perl / DXDb.pm
index a088866c5873e675586b4a72c8c93c6565170e70..81d21928334ea81e15848eed639f58b3225cb062 100644 (file)
@@ -49,12 +49,6 @@ $lastprocesstime = time;
 $nextstream = 0;
 %stream = ();
 
-use vars qw($VERSION $BRANCH);
-$VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ );
-$BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/  || (0,0));
-$main::build += $VERSION;
-$main::branch += $BRANCH;
-
 # allocate a new stream for this request
 sub newstream
 {
@@ -277,7 +271,7 @@ sub handle_45
        # incoming DB Information
        my $n = getstream($_[3]);
        if ($n) {
-               my $mchan = DXChannel->get($n->{call});
+               my $mchan = DXChannel::get($n->{call});
                $mchan->send($_[2] . ":$_[4]") if $mchan;
        }
 }