mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-01-27 00:33:34 +00:00
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.
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.
Languages
PHP
71%
PLpgSQL
13.2%
Perl
11.7%
Shell
2%
Prolog
0.6%
Other
1.5%