function authcache_comment_preprocess_comment in Authenticated User Page Caching (Authcache) 7.2
Process comment template variables.
Replace "new" marker with empty span containing timestamp info.
See also
File
- modules/
authcache_comment/ authcache_comment.module, line 110 - Provide personalization for the comment module.
Code
function authcache_comment_preprocess_comment(&$variables) {
global $user;
if ($user->uid && authcache_page_is_cacheable()) {
$comment = $variables['comment'];
$node = $variables['node'];
$variables['new'] = '';
if (module_exists('authcache_node_history')) {
$variables['new'] = authcache_node_history_node_mark($node->nid, $comment->changed, 'new');
}
}
}