Skip to content

Commit

Permalink
Item1339: stomped on by a olifant
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk@4184 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
SvenDowideit authored and SvenDowideit committed Jun 17, 2009
1 parent e8e31e4 commit c98a33e
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions core/lib/Foswiki.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1842,7 +1842,6 @@ sub search {

unless ( $this->{search} ) {
require Foswiki::Search;
#Monitor::MonitorMethod('Foswiki::Search');
$this->{search} = new Foswiki::Search($this);
}
return $this->{search};
Expand Down Expand Up @@ -3790,9 +3789,6 @@ sub ENV {
sub SEARCH {
my ( $this, $params, $topicObject ) = @_;

use Benchmark ':hireswallclock';
my $startTime = new Benchmark();

# pass on all attrs, and add some more
#$params->{_callback} = undef;
$params->{inline} = 1;
Expand All @@ -3814,11 +3810,6 @@ use Benchmark ':hireswallclock';
$s = $this->inlineAlert( 'alerts', 'bad_search', $message );
};

my $stopTime = new Benchmark();
my $elapsed = timediff($stopTime, $startTime);

print STDERR "SEARCH ".$params->{search}." took ",timestr($elapsed),"\n";

return $s;
}

Expand Down

0 comments on commit c98a33e

Please sign in to comment.