Where is this function?

richsiy wrote on Saturday, October 30, 2010:

Hi,
I am looking at this statement in forms.php:
$user = getNameFromUsername($iter);
I cannot find the function getNameFromUsername any where. Can someone tell me where it is?
Thanks.

sunsetsystems wrote on Saturday, October 30, 2010:

$ grep -r -i ‘function getNameFromUsername’ *
library/calendar.inc:function getNamefromUsername($username) {

I guess you didn’t find it because of the case mismatch.

Rod
www.sunsetsystems.com

richsiy wrote on Sunday, October 31, 2010:

Thanks. I did not realize that php function name is case-insensitive.