adapted method signature to new PHP strict warning

PHP >5.4 outputs now by default warnings about incorrect method signatures, such as the one in DatabaseLoggerAppModel:54.

The patch fixes this. I hope it is helpful
Kurt