Move System::httpExit to BaseModule->httpExit
- This will ensure headers set in BaseModule->run will be carried in httpExit scenarios - Deprecate httpExit() method in Core\System
This commit is contained in:
@@ -67,6 +67,6 @@ class ReallySimpleDiscovery extends BaseModule
|
||||
],
|
||||
],
|
||||
]);
|
||||
System::httpExit($content, Response::TYPE_XML);
|
||||
$this->httpExit($content, Response::TYPE_XML);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user