Commit d7df4c56 authored by Joakim Nylén's avatar Joakim Nylén

Remove XML part

parent 017e107a
......@@ -65,28 +65,11 @@ sub ImportContentFile {
if( $file =~ /\.xls|.xlsx$/i ){
$self->ImportXLS( $file, $chd );
}elsif( $file =~ /\.xml$/i ){
$self->ImportXML( $file, $chd );
}
return;
}
sub ImportXML {
my $self = shift;
my( $file, $chd ) = @_;
my $dsh = $self->{datastorehelper};
my $ds = $self->{datastore};
$self->{fileerror} = 1;
# Do something beautiful here later on.
error("From now on you need to convert XML files to XLS files.");
return 0;
}
sub ImportXLS {
my $self = shift;
my( $file, $chd ) = @_;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment