[TYPO3-core] RFC #16223 : Bugfix : Failed backend userlogins are not written to syslog using saltedpasswords

Jigal van Hemert jigal at xs4all.nl
Fri Mar 18 09:46:17 CET 2011


On 18-3-2011 9:12, Bjoern Pedersen wrote:
> Almost correct. The base class log function is calles "writelog" (all
> lower case), the additional log function in saltedpasswords "writeLog"
> (camel case, first word lower case). So it should be enough to add calls
> to $this->writelog... (lower case).

Unfortunately function names are case-insensitive in PHP (See "Note" 
between Example #3 and #4 [1]).
Both functions are the same (although the function name in the extended 
class should be exactly the same as in the base class to keep things 
clear for developers).

[1] http://php.net/manual/en/functions.user-defined.php

Kind regards / met vriendelijke groet,

Jigal van Hemert.

More information about the TYPO3-team-core mailing list