[CORE][Controller][FeedController] Use controller instance for filtering, making FeedControler->postProcess function non-static
This commit is contained in:
parent
ba078b7b76
commit
b7872ba4ee
@ -136,8 +136,6 @@ abstract class Controller extends AbstractController implements EventSubscriberI
|
||||
if (\is_array($controller)) {
|
||||
$controller = $controller[0];
|
||||
}
|
||||
|
||||
// XXX: Could we do this differently?
|
||||
if (is_subclass_of($controller, FeedController::class)) {
|
||||
$this->vars = $controller->postProcess($this->vars);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user