[Kolab-devel] Re: steffen: server/kolab-resource-handlers/kolab-resource-handlers/freebusy pfb.php, 1.7, 1.8

Steffen Hansen steffen at klaralvdalens-datakonsult.se
Wed Nov 10 17:01:09 CET 2004


On Wednesday 10 November 2004 16:49, Steffen Hansen wrote:
> On Wednesday 10 November 2004 16:09, Bernhard Reiter wrote:
> > On Wednesday 10 November 2004 14:11, cvs at intevation.de wrote:
> > > Author: steffen
> >
> > 	pfb.php
> >
> > > Log Message:
> > > uid=>mail for issue518
> > >
> > > --- pfb.php	1 Nov 2004 13:09:19 -0000	1.7
> > > +++ pfb.php	10 Nov 2004 13:11:47 -0000	1.8
> > >
> > > +  $owner = $ldap->mailForUid($folder[0]);
> >
> > I am assuming that mailForUID also returns the mail
> > if the uid is equal the the primary email address. :)
>
> Ah, crap. I was looking at userInfo() and not mailForUID(). I'll
> fix...

Actually it works because mailForUID($uid) returns $uid in case it 
didn't find any match in LDAP. So for testing the current package 
should be fine.

regards
-- 
Steffen Hansen          |       Klarälvdalens Datakonsult AB
Senior Software Engineer|       http://www.klaralvdalens-datakonsult.se
                        |
                        |       Platform-independent
                        |       software solutions




More information about the devel mailing list