[Sitesampler-submitinfo] sitesampler/SiteSampler Agent.pm,1.7,1.8
Brought to you by:
alfarid23,
shanehill00
|
From: Shane H. <sha...@us...> - 2005-07-22 03:43:59
|
Update of /cvsroot/sitesampler/sitesampler/SiteSampler In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29972/SiteSampler Modified Files: Agent.pm Log Message: changes to the SiteSampler::Agent object such that the report object returned from the report method is the same object returned from the report method of the project object. also removed some extraneous stuff from the schema sql file added the ability to fork the processing of stats off to its own process if necessary Index: Agent.pm =================================================================== RCS file: /cvsroot/sitesampler/sitesampler/SiteSampler/Agent.pm,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** Agent.pm 18 Jul 2005 01:36:38 -0000 1.7 --- Agent.pm 22 Jul 2005 03:42:16 -0000 1.8 *************** *** 32,36 **** my $key = $self->report_key; unless(exists $self->{$key}){ ! $self->{$key} = SiteSampler::Report->new($self->report_id); } return($self->{$key}); --- 32,37 ---- my $key = $self->report_key; unless(exists $self->{$key}){ ! # use the same report object that the parent does ! $self->{$key} = $self->project->report; } return($self->{$key}); *************** *** 49,53 **** sub report_id{ my $self = shift; ! return $self->get_set($self->report_id_key,@_); } --- 50,55 ---- sub report_id{ my $self = shift; ! return $self->project->report_id; ! # return $self->get_set($self->report_id_key,@_); } *************** *** 150,154 **** $report->cache; $report->set_report_html; - # print $report->report_html; $report->save; } --- 152,155 ---- |