diff options
| author | Joas Schilling <nickvergessen@gmx.de> | 2016-02-13 16:45:04 +0100 |
|---|---|---|
| committer | Joas Schilling <nickvergessen@gmx.de> | 2016-02-13 16:45:04 +0100 |
| commit | 9590ff3c18b032041f2dc8c726a6e290d6db2904 (patch) | |
| tree | ca2cb7bd6975b18a82b1e93267ebf435d616a8e9 /phpBB/includes | |
| parent | 4f07a0bafb5e8c80c18c5a4d7a8335e1a5c7939d (diff) | |
| parent | 1bd4895d7ac933257ccad48d01245025e663c197 (diff) | |
| download | forums-9590ff3c18b032041f2dc8c726a6e290d6db2904.tar forums-9590ff3c18b032041f2dc8c726a6e290d6db2904.tar.gz forums-9590ff3c18b032041f2dc8c726a6e290d6db2904.tar.bz2 forums-9590ff3c18b032041f2dc8c726a6e290d6db2904.tar.xz forums-9590ff3c18b032041f2dc8c726a6e290d6db2904.zip | |
Merge pull request #4176 from Elsensee/ticket/14409
[ticket/14409] Update session page info before displaying online list
Diffstat (limited to 'phpBB/includes')
| -rw-r--r-- | phpBB/includes/functions.php | 4 | ||||
| -rw-r--r-- | phpBB/includes/functions_acp.php | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 094b1fd364..b6334a2bca 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -4969,6 +4969,8 @@ function page_header($page_title = '', $display_online_list = false, $item_id = } } + $user->update_session_infos(); + // Generate logged in/logged out status if ($user->data['user_id'] != ANONYMOUS) { @@ -5395,8 +5397,6 @@ function page_footer($run_cron = true, $display_template = true, $exit_handler = return; } - $user->update_session_infos(); - phpbb_check_and_display_sql_report($request, $auth, $db); $template->assign_vars(array( diff --git a/phpBB/includes/functions_acp.php b/phpBB/includes/functions_acp.php index 4193f69929..2bbf1c9e57 100644 --- a/phpBB/includes/functions_acp.php +++ b/phpBB/includes/functions_acp.php @@ -55,6 +55,8 @@ function adm_page_header($page_title) return; } + $user->update_session_infos(); + // gzip_compression if ($config['gzip_compress']) { @@ -164,8 +166,6 @@ function adm_page_footer($copyright_html = true) return; } - $user->update_session_infos(); - phpbb_check_and_display_sql_report($request, $auth, $db); $template->assign_vars(array( |
