Skip to content

Commit

Permalink
TASK: Remove declaration of obsolete $dispatched state
Browse files Browse the repository at this point in the history
  • Loading branch information
mhsdesign committed Oct 27, 2024
1 parent e7ca670 commit cb871db
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions Classes/Mvc/ActionRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,6 @@ class ActionRequest
*/
protected $format = '';

/**
* If this request has been changed and needs to be dispatched again
* @var boolean
*/
protected $dispatched = false;

/**
* The parent request – either another sub ActionRequest a main ActionRequest or null
* @var ?ActionRequest
Expand Down Expand Up @@ -656,14 +650,6 @@ public function getFormat(): string
return $this->format;
}

/**
* Resets the dispatched status to false
*/
public function __clone()
{
$this->dispatched = false;
}

/**
* We provide our own __sleep method, where we serialize all properties *except* the parentRequest if it is
* a HTTP request -- as this one contains $_SERVER etc.
Expand Down

0 comments on commit cb871db

Please sign in to comment.