Skip to content

Commit

Permalink
change: add Legacy_AbstractControllerStrategy::_mLoadedFilterNames pr…
Browse files Browse the repository at this point in the history
…operty

Dynamic properties have been deprecated since PHP 8.2.
  • Loading branch information
RyujiAMANO committed Nov 18, 2024
1 parent c826d29 commit a8f0a3c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion html/modules/legacy/kernel/Legacy_Controller.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1243,7 +1243,7 @@ public function executeRedirect($url, $time = 1, $message = null, $addRedirect =
}
}
}

/* XCL 2.3.x
* @gigamaster added theme_set, theme_url and theme_css (custom templates from theme)
* also Render configs for X2 and D3 compatibility, refer to /class/template.php
Expand Down Expand Up @@ -1458,6 +1458,8 @@ class Legacy_AbstractControllerStrategy

public $mStatusFlag;

public array $_mLoadedFilterNames = [];

public function __construct(&$controller)
{
$this->mController =& $controller;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
class Legacy_PublicControllerStrategy extends Legacy_AbstractControllerStrategy
{
public $mStatusFlag = LEGACY_CONTROLLER_STATE_PUBLIC;
public $_mLoadedFilterNames = [];

public function __construct(&$controller)
{
Expand Down

0 comments on commit a8f0a3c

Please sign in to comment.