if (in_array($widget['options']['type'], array('recent', 'all'))) {
$recent = $threadModel->getThreads(
$conditions
, array_merge($fetchOptions, array(
'order' => 'last_post_date',
'orderDirection' => 'desc',
'join' => 0,
'last_post_join' => XenForo_Model_Thread::FETCH_AVATAR,
))
);