removing files no longer being distributed with WebGUI
This commit is contained in:
parent
e2dc0e7b2c
commit
56a8e6ea44
70 changed files with 0 additions and 45620 deletions
|
|
@ -1,27 +0,0 @@
|
|||
|
||||
package DBIx::FullTextSearch::File;
|
||||
use DBIx::FullTextSearch::String;
|
||||
use strict;
|
||||
use vars qw! @ISA !;
|
||||
@ISA = qw! DBIx::FullTextSearch::String !;
|
||||
|
||||
sub index_document {
|
||||
my ($self, $file, $extra_data) = @_;
|
||||
my $dbh = $self->{'dbh'};
|
||||
|
||||
open FILE, $file or do {
|
||||
$self->{'errstr'} = "Reading the file `$file' failed: $!";
|
||||
return;
|
||||
};
|
||||
my $data;
|
||||
{
|
||||
local $/ = undef;
|
||||
$data = <FILE>;
|
||||
}
|
||||
$data .= " $extra_data" if $extra_data;
|
||||
close FILE;
|
||||
$self->SUPER::index_document($file, $data);
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue