Paladin
unread,Nov 22, 2009, 1:05:20 AM11/22/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Joomla! Framework Development
When JUser->setLastVisit() is called, it sets the last visit field in
the database, but not in the user object in memory. Intentional?
(BTW, add this one to the list of methods that will probably break in
php6. From the construction of it, it looks like it's intended to be
called both as a dynamic and as a static method, and its proper
function depends upon a definition of $this. PHP6 will not let you
call dynamic methhods as static, and if declared static, $this becomes
undefined for method.)
I'm just curious what the circumstances are where this would be
logically called as static. I can't find an example, yet the code
clearly expects to be called as a static sometimes.