Issue #2002368 by baldwinlouie: Rename Views method build_condition() to buildCondition().

8.0.x
Alex Pott 2013-05-29 11:53:45 +01:00
parent e55477f8ef
commit 7ab5c07b61
1 changed files with 3 additions and 3 deletions

View File

@ -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);
}