Commit 9dd39359 authored by alexpott's avatar alexpott

Issue #2002884 by aspilicious: Rename Views method left_query() to leftQuery().

parent c1d7f6f0
......@@ -187,7 +187,7 @@ public function submitOptionsForm(&$form, &$form_state) {
* @return
* The subquery SQL string, ready for use in the main query.
*/
function left_query($options) {
protected function leftQuery($options) {
// Either load another view, or create one on the fly.
if ($options['subquery_view']) {
$temp_view = views_get_view($options['subquery_view']);
......@@ -357,7 +357,7 @@ public function query() {
if ($this->options['subquery_regenerate']) {
// For testing only, regenerate the subquery each time.
$def['left_query'] = $this->left_query($this->options);
$def['left_query'] = $this->leftQuery($this->options);
}
else {
// Get the stored subquery SQL string.
......@@ -367,7 +367,7 @@ public function query() {
$def['left_query'] = $cache->data;
}
else {
$def['left_query'] = $this->left_query($this->options);
$def['left_query'] = $this->leftQuery($this->options);
cache('views_results')->set($cid, $def['left_query']);
}
}
......
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