detail messaging
[spider.git] / cmd / load / usdb.pl
index 7ed76067a9dc4082ca2b8820597ba4cf698d28e7..d2b10e308626f79e753fae7b7385c52f38eda70b 100644 (file)
@@ -15,8 +15,4 @@
 my ($self, $line) = @_;
 my @out;
 return (1, $self->msg('e5')) if $self->priv < 9;
-return (1, $self->msg('e3', "load/usdb", $line)) if $line && !-r $line;
-$line = "$main::data/usdbraw" unless $line;
-push @out, (USDB::load($line));
-@out = ($self->msg('ok')) unless @out;
-return (1, @out); 
+return (1, USDB::init());