fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote2010-09-15 01:40 pm

Things I didn't know until two minutes ago

There is an LJ::is_web_context() function.
sophie: A cartoon-like representation of a girl standing on a hill, with brown hair, blue eyes, a flowery top, and blue skirt. ☀ (Default)

[personal profile] sophie 2010-09-15 01:49 pm (UTC)(link)
It's to distinguish between whether a function is being used because it was triggered from the website, or because it was triggered from something like a cron script, as far as I know. :)