Index: plugins/views_plugin_style_summary.inc =================================================================== --- plugins/views_plugin_style_summary.inc (revision 6281) +++ plugins/views_plugin_style_summary.inc (working copy) @@ -21,7 +21,7 @@ return $options; } - function query() { + function query($get_count = FALSE) { if (!empty($this->options['override'])) { $this->view->set_items_per_page(intval($this->options['items_per_page'])); } Index: plugins/views_plugin_style_summary_jump_menu.inc =================================================================== --- plugins/views_plugin_style_summary_jump_menu.inc (revision 6281) +++ plugins/views_plugin_style_summary_jump_menu.inc (working copy) @@ -23,7 +23,7 @@ return $options; } - function query() { + function query($get_count = FALSE) { // Copy the offset option. $pager = array( 'type' => 'none', Index: plugins/views_plugin_pager.inc =================================================================== --- plugins/views_plugin_pager.inc (revision 6281) +++ plugins/views_plugin_pager.inc (working copy) @@ -160,7 +160,7 @@ * * This is called during the build phase and can directly modify the query. */ - function query() { } + function query($get_count = FALSE) { } /** * Perform any needed actions just prior to the query executing. Index: plugins/views_plugin_query.inc =================================================================== --- plugins/views_plugin_query.inc (revision 6281) +++ plugins/views_plugin_query.inc (working copy) @@ -72,7 +72,7 @@ function options_validate(&$form, &$form_state) { } - function options_submit(&$form, &$form_state) { } + function options_submit($form, &$form_state) { } function summary_title() { return t('Settings'); Index: plugins/views_plugin_pager_none.inc =================================================================== --- plugins/views_plugin_pager_none.inc (revision 6281) +++ plugins/views_plugin_pager_none.inc (working copy) @@ -52,7 +52,7 @@ $this->total_items = count($result); } - function query() { + function query($get_count = FALSE) { // The only query modifications we might do are offsets. if (!empty($this->options['offset'])) { $this->view->query->set_offset($this->options['offset']); Index: plugins/views_plugin_pager_full.inc =================================================================== --- plugins/views_plugin_pager_full.inc (revision 6281) +++ plugins/views_plugin_pager_full.inc (working copy) @@ -169,7 +169,7 @@ } } - function query() { + function query($get_count = FALSE) { if ($this->items_per_page_exposed()) { if (!empty($_GET['items_per_page']) && $_GET['items_per_page'] > 0) { $this->options['items_per_page'] = $_GET['items_per_page']; Index: plugins/views_plugin_pager_some.inc =================================================================== --- plugins/views_plugin_pager_some.inc (revision 6281) +++ plugins/views_plugin_pager_some.inc (working copy) @@ -48,7 +48,7 @@ return FALSE; } - function query() { + function query($get_count = FALSE) { $this->view->query->set_limit($this->options['items_per_page']); $this->view->query->set_offset($this->options['offset']); } Index: plugins/views_plugin_access_role.inc =================================================================== --- plugins/views_plugin_access_role.inc (revision 6676) +++ plugins/views_plugin_access_role.inc (working copy) @@ -51,7 +51,7 @@ } } - function options_submit(&$form, &$form_state) { + function options_submit($form, &$form_state) { // I hate checkboxes. $form_state['values']['access_options']['role'] = array_filter($form_state['values']['access_options']['role']); } Index: plugins/views_plugin_exposed_form.inc =================================================================== --- plugins/views_plugin_exposed_form.inc (revision 6676) +++ plugins/views_plugin_exposed_form.inc (working copy) @@ -135,7 +135,7 @@ } } - function query() { + function query($get_count = FALSE) { $view = $this->view; $exposed_data = $view->exposed_data; if (!empty($exposed_data['sort_by'])) { Index: plugins/views_plugin_style.inc =================================================================== --- plugins/views_plugin_style.inc (revision 6676) +++ plugins/views_plugin_style.inc (working copy) @@ -349,7 +349,7 @@ return $errors; } - function query() { + function query($get_count = FALSE) { parent::query(); if (isset($this->row_plugin)) { $this->row_plugin->query(); Index: plugins/views_plugin_display.inc =================================================================== --- plugins/views_plugin_display.inc (revision 6676) +++ plugins/views_plugin_display.inc (working copy) @@ -2147,7 +2147,7 @@ /** * Inject anything into the query that the display handler needs. */ - function query() { } + function query($get_count = FALSE) { } /** * Not all display plugins will support filtering Index: plugins/views_plugin_row.inc =================================================================== --- plugins/views_plugin_row.inc (revision 6281) +++ plugins/views_plugin_row.inc (working copy) @@ -98,7 +98,7 @@ /** * Validate the options form. */ - function options_validate($form, &$form_state) { } + function options_validate(&$form, &$form_state) { } /** * Perform any necessary changes to the form values prior to storage. @@ -106,7 +106,7 @@ */ function options_submit($form, &$form_state) { } - function query() { + function query($get_count = FALSE) { if (isset($this->base_table)) { if (isset($this->options['relationship']) && isset($this->view->relationship[$this->options['relationship']])) { $relationship = $this->view->relationship[$this->options['relationship']]; Index: plugins/views_plugin_exposed_form_input_required.inc =================================================================== --- plugins/views_plugin_exposed_form_input_required.inc (revision 6676) +++ plugins/views_plugin_exposed_form_input_required.inc (working copy) @@ -79,7 +79,7 @@ } } - function query() { + function query($get_count = FALSE) { if (!$this->exposed_filter_applied()) { // We return with no query; this will force the empty text. $this->view->built = TRUE; Index: handlers/views_handler_argument_numeric.inc =================================================================== --- handlers/views_handler_argument_numeric.inc (revision 6281) +++ handlers/views_handler_argument_numeric.inc (working copy) @@ -70,7 +70,7 @@ return $this->value; } - function query() { + function query($get_count = FALSE) { $this->ensure_my_table(); if (!empty($this->options['break_phrase'])) { Index: handlers/views_handler_area.inc =================================================================== --- handlers/views_handler_area.inc (revision 6676) +++ handlers/views_handler_area.inc (working copy) @@ -64,7 +64,7 @@ /** * Don't run a query */ - function query() { } + function query($get_count = FALSE) { } /** * Render the area @@ -83,7 +83,7 @@ } function ensure_my_table() { /* No table to ensure! */ } - function query() { /* No query to run */ } + function query($get_count = FALSE) { /* No query to run */ } function render($empty = FALSE) { return ''; } function options_form(&$form, &$form_state) { $form['markup'] = array( Index: handlers/views_handler_sort_formula.inc =================================================================== --- handlers/views_handler_sort_formula.inc (revision 6281) +++ handlers/views_handler_sort_formula.inc (working copy) @@ -27,7 +27,7 @@ /** * Called to add the sort to a query. */ - function query() { + function query($get_count = FALSE) { if (is_array($this->formula)) { global $db_type; if (isset($this->formula[$db_type])) { Index: handlers/views_handler_area_text.inc =================================================================== --- handlers/views_handler_area_text.inc (revision 6676) +++ handlers/views_handler_area_text.inc (working copy) @@ -80,7 +80,7 @@ } } - function options_submit(&$form, &$form_state) { + function options_submit($form, &$form_state) { $form_state['values']['options']['format'] = $form_state['values']['format']; parent::options_submit($form, $form_state); } Index: handlers/views_handler_field_counter.inc =================================================================== --- handlers/views_handler_field_counter.inc (revision 6281) +++ handlers/views_handler_field_counter.inc (working copy) @@ -20,7 +20,7 @@ ); } - function query() { + function query($get_count = FALSE) { // do nothing -- to override the parent query. } Index: handlers/views_handler_field.inc =================================================================== --- handlers/views_handler_field.inc (revision 6676) +++ handlers/views_handler_field.inc (working copy) @@ -58,7 +58,7 @@ /** * Called to add the field to a query. */ - function query() { + function query($get_count = FALSE) { $this->ensure_my_table(); // Add the field. $this->field_alias = $this->query->add_field($this->table_alias, $this->real_field); @@ -1130,7 +1130,7 @@ } function ensure_my_table() { /* No table to ensure! */ } - function query() { /* No query to run */ } + function query($get_count = FALSE) { /* No query to run */ } function options_form(&$form, &$form_state) { $form['markup'] = array( '#prefix' => '