->
condition('n.created', HISTORY_READ_LIMIT, '>'
) ->
isNull('h.nid'
) ->
addTag('node_access'
) ->
execute() ->
fetchField();
} /**
* {@inheritdoc}
*/
public function __sleep() { $vars =
$this->
defaultSleep();
// Do not serialize static cache.
unset($vars['history'
],
$vars['index'
],
$vars['lastPostData'
],
$vars['forumChildren'
],
$vars['forumStatistics'
]);
return $vars;
} /**
* {@inheritdoc}
*/
public function __wakeup() { $this->
defaultWakeup();
// Initialize static cache.