Commit 7ab5c07b authored by alexpott's avatar alexpott

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

parent e55477f8
......@@ -1084,7 +1084,7 @@ function placeholder($base = 'views') {
* @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 @@ public function query($get_count = FALSE) {
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 @@ public function query($get_count = FALSE) {
}
}
if (!empty($this->where) && $condition = $this->build_condition('where')) {
if (!empty($this->where) && $condition = $this->buildCondition('where')) {
$query->condition($condition);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment