mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/11212] Cosmetics
PHPBB3-11212
This commit is contained in:
parent
b534a7a579
commit
1affc35be9
1 changed files with 3 additions and 2 deletions
|
@ -2873,7 +2873,7 @@ function send_status_line($code, $message)
|
||||||
/**
|
/**
|
||||||
* Returns the HTTP version used in the current request.
|
* Returns the HTTP version used in the current request.
|
||||||
*
|
*
|
||||||
* Handles the case of being called before `$request` is present,
|
* Handles the case of being called before $request is present,
|
||||||
* In which case it falls back to the $_SERVER superglobal.
|
* In which case it falls back to the $_SERVER superglobal.
|
||||||
*
|
*
|
||||||
* @return string HTTP version
|
* @return string HTTP version
|
||||||
|
@ -5348,7 +5348,8 @@ function garbage_collection()
|
||||||
* @event core.garbage_collection
|
* @event core.garbage_collection
|
||||||
* @since 3.1-A1
|
* @since 3.1-A1
|
||||||
*/
|
*/
|
||||||
if (!empty($phpbb_dispatcher)) {
|
if (!empty($phpbb_dispatcher))
|
||||||
|
{
|
||||||
$phpbb_dispatcher->dispatch('core.garbage_collection');
|
$phpbb_dispatcher->dispatch('core.garbage_collection');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue