Commit b880d8f4 authored by alexpott's avatar alexpott

Issue #2002280 by elvis2, connork: Rename Views method add_signature() to addSignature().

parent 20d028f5
......@@ -79,7 +79,7 @@ function execute(ViewExecutable $view) { }
* @param view $view
* The view which is executed.
*/
function add_signature(ViewExecutable $view) { }
public function addSignature(ViewExecutable $view) { }
/**
* Get aggregation info for group by queries.
......
......@@ -1643,7 +1643,7 @@ function loadEntities(&$results) {
}
}
function add_signature(ViewExecutable $view) {
public function addSignature(ViewExecutable $view) {
$view->query->add_field(NULL, "'" . $view->storage->id() . ':' . $view->current_display . "'", 'view_name');
}
......
......@@ -1071,7 +1071,7 @@ public function build($display_id = NULL) {
}
if (config('views.settings')->get('sql_signature')) {
$this->query->add_signature($this);
$this->query->addSignature($this);
}
// Let modules modify the query just prior to finalizing it.
......
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