6.0.0-alpha14
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
7/3/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#6837] Singletons and references
*
Your Email Address
*
Spam protection
Enter the letters below:
. \ /. .. .\ / | >< |_/ |\ | >< |___/ \| \| \|/ \
Comment
>> This last patch is a bit confusing, since some places you're adding > >> references too. > > > > Yes, this fixes the factory/singleton code for PHP4. You can drop > that part if you want as I switched to PHP5 and PHP4 is out of > maintenance (->doomed) anyway. > > I only added it in places where the factory and singleton code is > already defined as "function &factory()" and "function &singleton()", > so it should make no difference. I'm really happy they changed the > default "copy" behavior in PHP5 :-) > > > > Regarding the logger change: The $logger variable is defined as a > normal "static" var, so the code looked wrong to me. Do you have a > test case where it failed in the past? Normal logging f.e. of IMAP > logins still works for me with the new code. > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers