projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add uref for call in edu
[spider.git]
/
cmd
/
load
/
usdb.pl
diff --git
a/cmd/load/usdb.pl
b/cmd/load/usdb.pl
index b06f7c51b64eea0332ecb43054dddc7de4dcbfad..d2b10e308626f79e753fae7b7385c52f38eda70b 100644
(file)
--- a/
cmd/load/usdb.pl
+++ b/
cmd/load/usdb.pl
@@
-15,6
+15,4
@@
my ($self, $line) = @_;
my @out;
return (1, $self->msg('e5')) if $self->priv < 9;
my ($self, $line) = @_;
my @out;
return (1, $self->msg('e5')) if $self->priv < 9;
-my $r = USDB::load($line) if $line;
-USDB::init() if undef $r || $r =~ /^\d+ rec/;
-return (1, @out);
+return (1, USDB::init());