WIP DXUser no storable, no db_file
[spider.git] / cmd / json_export.pl
diff --git a/cmd/json_export.pl b/cmd/json_export.pl
deleted file mode 100644 (file)
index 06dbda6..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-#
-# the export the user file to ascii command
-#
-#
-#
-my $self = shift;
-my $line = shift;;
-return (1, $self->msg('e5')) unless $self->priv >= 9;
-
-my ($fn, $flag) = split /\s+/, $line;
-$fn ||= 'user_json';
-unless ($fn && $fn eq 'user_json') {
-       $fn =~ s|[/\.]||g;
-       $fn = "/tmp/$fn";
-}
-my $strip = $flag eq 'strip';
-
-my @out = DXUser::export_json($fn, $strip);
-
-return (1, @out);
-
-