Matthias Beyer b732dcaeb3 Only set the cached instance if driver is valid
As I could see at other locations in the code, the ldap driver instance
can be invalid. And if the instance is invalid, the getStaticLdap()
function gets called again. Caching would prevent the function from
retrying to initiate the ldapDrivers object.

This commit adds conditional caching: only if the ldap driver instance is
valid, the object gets cached. This ensures that a retry with this function
would really try to create a new ldapDrivers object and not simply
return the (invalid) cached one.
2013-10-24 17:04:36 +13:00
2013-09-02 14:53:47 +12:00
2013-09-26 16:09:36 +02:00
2011-02-21 22:44:57 +13:00
2013-09-26 16:24:36 +02:00
2013-10-15 23:48:29 +13:00
2010-12-25 14:24:44 +13:00
2013-09-02 14:53:47 +12:00
2012-01-14 19:34:11 +13:00
2010-01-11 10:15:47 +13:00
2013-03-06 22:30:27 +13:00

DAViCal CalDAV Server by Andrew McMillan.

For documentation you are best advised to visit the sourceforge pages
or to start searching from http://davical.org/ and see where you end
up.

There's lots of useful information at http://wiki.davical.org/ as well,
and if you want access to update that contact us on IRC or send an e-mail
to <wiki-access@davical.org>.

Good luck!

Andrew McMillan

-----------------------------------------------
Copyright: 2006-2011 Andrew McMillan <andrew@mcmillan.net.nz>

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA
Description
DAViCal is a server for calendar sharing. It is an implementation of the CalDAV protocol which is designed for storing calendaring resources (in iCalendar format) on a remote shared server.
Readme
Languages
PHP 71%
PLpgSQL 13.2%
Perl 11.7%
Shell 2%
Prolog 0.6%
Other 1.5%