1 views_handler_field_history_user_timestamp.inc views_handler_field_history_user_timestamp::query()

Called to add the field to a query.

Overrides views_handler_field::query

File

core/modules/node/views/views_handler_field_history_user_timestamp.inc, line 49
Definition of views_handler_field_history_user_timestamp.

Class

views_handler_field_history_user_timestamp
Field handler to display the marker for new content.

Code

function query() {
  // Only add ourselves to the query if logged in.
  global $user;
  if (!$user->uid) {
    return;
  }
  parent::query();
}