Commit d264fd47 authored by damiankloip's avatar damiankloip Committed by tim.plunkett

Issue #1799736 by damiankloip: reset parameter in initDisplay isn't used/needed.

parent 4406aa9f
......@@ -573,8 +573,7 @@ public function getExposedInput() {
/**
* Set the display for this view and initialize the display handler.
*/
public function initDisplay($reset = FALSE) {
// The default display is always the first one in the list.
public function initDisplay() {
if (isset($this->current_display)) {
return TRUE;
}
......
......@@ -154,14 +154,10 @@ public function getExecutable($reset = FALSE, $ui = FALSE) {
* Initializes the display.
*
* @todo Inspect calls to this and attempt to clean up.
*
* @param bool $reset
* If the display should be reset. Defaults to FALSE.
*
* @see Drupal\views\ViewExecutable::initDisplay()
*/
public function initDisplay($reset = FALSE) {
$this->getExecutable()->initDisplay($reset);
public function initDisplay() {
$this->getExecutable()->initDisplay();
}
/**
......
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