Update of /cvsroot/popfile/engine/Services/IMAP
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10943/Services/IMAP
Modified Files:
Tag: b0_22_2
Client.pm
Log Message:
Make the IMAP-Client module ready for POPFile v2.0
Index: Client.pm
===================================================================
RCS file: /cvsroot/popfile/engine/Services/IMAP/Client.pm,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -C2 -d -r1.1.2.4 -r1.1.2.5
*** Client.pm 30 Nov 2007 21:13:40 -0000 1.1.2.4
--- Client.pm 1 Dec 2007 20:58:32 -0000 1.1.2.5
***************
*** 60,64 ****
--- 60,68 ----
my $self = bless {}, $class;
+ # This is needed when the client module is run in POPFile 0.22.2 context
$self->{logger__} = $log or return;
+ # And this one is for the 0.23 (aka 2.0) context:
+ $self->{modules__}{logger} = $log;
+
$self->{config__} = $config or return;
$self->{global_config__} = $global_config or return;
|