
<!-- saved from url=(0060)https://drupal.org/files/Rename_Views_method-2002422-2.patch -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php
index 117ade9..263685b 100644
--- a/core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php
+++ b/core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php
@@ -779,7 +779,7 @@ function default_summary() {
 
     // Clear out the normal primary field and whatever else may have
     // been added and let the summary do the work.
-    $this-&gt;query-&gt;clear_fields();
+    $this-&gt;query-&gt;clearFields();
     $this-&gt;summary_query();
 
     $by = $this-&gt;options['summary']['number_of_records'] ? 'num_records' : NULL;
diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php b/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php
index 3f7c8bd..1027a08 100644
--- a/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php
+++ b/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php
@@ -796,7 +796,7 @@ function add_field($table, $field, $alias = '', $params = array()) {
    * Remove all fields that may've been added; primarily used for summary
    * mode where we're changing the query because we didn't get data we needed.
    */
-  function clear_fields() {
+  public function clearFields() {
     $this-&gt;fields = array();
   }
 
</pre></body></html>