From 7ab5c07b614c31849508497330225256daadc69b Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Wed, 29 May 2013 11:53:45 +0100 Subject: [PATCH] Issue #2002368 by baldwinlouie: Rename Views method build_condition() to buildCondition(). --- .../views/lib/Drupal/views/Plugin/views/query/Sql.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 3e5d77519a1..ee682ce5f9f 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 @@ -1084,7 +1084,7 @@ class Sql extends QueryPluginBase { * @param $where * 'where' or 'having'. */ - function build_condition($where = 'where') { + protected function buildCondition($where = 'where') { $has_condition = FALSE; $has_arguments = FALSE; $has_filter = FALSE; @@ -1343,7 +1343,7 @@ class Sql extends QueryPluginBase { foreach ($groupby as $field) { $query->groupBy($field); } - if (!empty($this->having) && $condition = $this->build_condition('having')) { + if (!empty($this->having) && $condition = $this->buildCondition('having')) { $query->havingCondition($condition); } } @@ -1362,7 +1362,7 @@ class Sql extends QueryPluginBase { } } - if (!empty($this->where) && $condition = $this->build_condition('where')) { + if (!empty($this->where) && $condition = $this->buildCondition('where')) { $query->condition($condition); }