[ticket/11271] Removing unnecessary database object

Removed unnecessary global database object from 'feed_generate_content'
Method.

PHPBB3-11271