Move System::jsonExit to BaseModule->jsonExit
- This will ensure headers set in BaseModule->run will be carried in jsonExit scenarios - Deprecate jsonExit() method in Core\System
This commit is contained in:
@@ -133,6 +133,6 @@ class Manifest extends BaseModule
|
||||
$manifest['theme_color'] = $theme_color;
|
||||
}
|
||||
|
||||
Core\System::jsonExit($manifest, 'application/manifest+json');
|
||||
$this->jsonExit($manifest, 'application/manifest+json');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user