6 Commits

Author SHA1 Message Date
Andrew McMillan
17104fc027 The correct fix: refer to static class variables with the correct syntax :-) 2011-05-18 23:36:39 +12:00
Andrew McMillan
03c1cb7cc7 Try and workaround some PHP versions not initialising static instance
vars.
2011-05-18 23:19:47 +12:00
Andrew McMillan
1a9d06b470 Move functions to somewhere that it's reasonable to define them!
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-03-31 13:36:46 +13:00
Andrew McMillan
db079408d7 Add __get()/__isset() so private/protected properties are read-only.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-03-31 11:42:05 +13:00
Andrew McMillan
e70bcd80d1 Fix caching problems.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-04 17:00:03 +13:00
Andrew McMillan
20ee255898 Refactor fetching of Principal records from database.
This is a significant refactoring, replacing the old getUserBy*()
functions with a new Principal class, and replacing the old
CalDAVPrincipal class with a new DAVPrincipal class which extends
the Principal class.

At this point all regression tests pass (again) but there could
well be issues for people who use alternative authenticators
such as LDAP, although I have endeavoured to resolve those
potential issues.

Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-03 10:16:43 +13:00