Replaced bb_exit() with native (#731)

This commit is contained in:
Roman Kelesidis 2023-05-29 12:13:20 +07:00 committed by GitHub
commit eb94659c61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 4 additions and 15 deletions

View file

@ -1692,7 +1692,7 @@ function caching_output($enabled, $mode, $cache_var_name, $ttl = 300)
if ($mode == 'send') {
if ($cached_contents = CACHE('bb_cache')->get($cache_var_name)) {
bb_exit($cached_contents);
exit($cached_contents);
}
} elseif ($mode == 'store') {
if ($output = ob_get_contents()) {