[ticket/12107] Use log table property instead of log table constant.

PHPBB3-12107

http://tracker.phpbb.com/browse/PHPBB3-12107