mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-22 17:41:24 +02:00
[ticket/11212] Cosmetics
PHPBB3-11212
This commit is contained in:
@@ -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');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user