mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/11360] Avoiding online list where not required
PHPBB3-11360
This commit is contained in:
@@ -77,9 +77,9 @@ class helper
|
||||
* @param int $status_code The status code to be sent to the page header
|
||||
* @return Response object containing rendered page
|
||||
*/
|
||||
public function render($template_file, $page_title = '', $status_code = 200)
|
||||
public function render($template_file, $page_title = '', $status_code = 200, $display_online_list = false)
|
||||
{
|
||||
page_header($page_title, true);
|
||||
page_header($page_title, $display_online_list);
|
||||
|
||||
$this->template->set_filenames(array(
|
||||
'body' => $template_file,
|
||||
|
@@ -49,7 +49,7 @@ class kernel_exception_subscriber implements EventSubscriberInterface
|
||||
*/
|
||||
public function on_kernel_exception(GetResponseForExceptionEvent $event)
|
||||
{
|
||||
page_header($this->user->lang('INFORMATION'), true);
|
||||
page_header($this->user->lang('INFORMATION'));
|
||||
|
||||
$exception = $event->getException();
|
||||
|
||||
|
Reference in New Issue
Block a user