Same name and namespace in other branches
  1. 6.x-3.x modules/node/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

modules/node/views_handler_field_history_user_timestamp.inc, line 62
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

public function query() {

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