Move System::httpError to BaseModule->httpError

- This will ensure headers set in BaseModule->run will be carried in httpError scenarios
- Deprecate httpError() method in Core\System
This commit is contained in:
Hypolite Petovan 2023-09-21 12:45:24 -04:00
parent da1416c07f
commit e424b7bacb
5 changed files with 35 additions and 11 deletions

View file

@ -54,7 +54,7 @@ class RemoveTag extends BaseModule
protected function post(array $request = [])
{
System::httpError($this->removeTag($request));
$this->httpError($this->removeTag($request));
}
protected function content(array $request = []): string