[dev] [cvs] commit: turba/lib/Object Group.php

Michael Rubinsky mike at theupstairsroom.com
Wed May 25 14:10:17 PDT 2005


Am I missing something obvoius here (again)?  If a user temporarily 
comments out a source, won't the entries still be pruned from the list 
in the 'if (is_a($driver, 'PEAR_Error'))' block?

Quoting Chuck Hagenbuch <chuck at horde.org>:

> Quoting Michael Rubinsky <mike at theupstairsroom.com>:
>
>>  Log:
>>  Prune contacts from lists when they no longer exist in the original source.
>
> First, you should be doing this with a is_a($contact, 'PEAR_Error') 
> check. Second, I purposely left this out (I thought I said this in 
> the comments and commit logs) because this will easily destroy a list 
> if there's a transitory connection problem or if someone temporarily 
> comments out a source.
>
> -chuck
>
> -- 
> "But she goes not abroad in search of monsters to destroy." - John 
> Quincy Adams
>




More information about the dev mailing list