Update of /cvsroot/popfile/engine/Proxy
In directory sc8-pr-cvs1:/tmp/cvs-serv23796/Proxy
Modified Files:
POP3.pm
Log Message:
Added delete_bucket and rename_bucket APIs and hooked them up to the UI; ecount and mcount become global values
Index: POP3.pm
===================================================================
RCS file: /cvsroot/popfile/engine/Proxy/POP3.pm,v
retrieving revision 1.43
retrieving revision 1.44
diff -C2 -d -r1.43 -r1.44
*** POP3.pm 3 Mar 2003 23:14:43 -0000 1.43
--- POP3.pm 5 Mar 2003 20:06:17 -0000 1.44
***************
*** 70,75 ****
# Start with no messages downloaded and no error
! $self->config_( 'mcount', 0 );
! $self->config_( 'ecount', 0 );
# This counter is used when creating unique IDs for message stored
--- 70,75 ----
# Start with no messages downloaded and no error
! $self->global_config_( 'mcount', 0 );
! $self->global_config_( 'ecount', 0 );
# This counter is used when creating unique IDs for message stored
***************
*** 116,120 ****
# TODO $self->{classifier__}->{parameters}{$class}{count} += 1;
! $self->config_( 'mcount' ) += 1;
$stats_changed = 1;
--- 116,120 ----
# TODO $self->{classifier__}->{parameters}{$class}{count} += 1;
! $self->global_config_( 'mcount', $self->global_config_( 'mcount' ) + 1 );
$stats_changed = 1;
***************
*** 131,136 ****
if ( $stats_changed ) {
! $self->{ui}->invalidate_history_cache();
! $self->{configuration}->save_configuration();
$self->{classifier__}->write_parameters();
}
--- 131,136 ----
if ( $stats_changed ) {
! $self->{ui__}->invalidate_history_cache();
! $self->{configuration__}->save_configuration();
$self->{classifier__}->write_parameters();
}
|