diff options
author | Henry Sudhof <kellanved@phpbb.com> | 2007-07-27 09:00:57 +0000 |
---|---|---|
committer | Henry Sudhof <kellanved@phpbb.com> | 2007-07-27 09:00:57 +0000 |
commit | 26ed2f360794b91b70e731f383d1326e2bd6dda6 (patch) | |
tree | eb91d576694451841928dc30cf9c4b46b37a41e6 | |
parent | a43ead8ee7db832871db9cd2c4f294108398f4b0 (diff) | |
download | forums-26ed2f360794b91b70e731f383d1326e2bd6dda6.tar forums-26ed2f360794b91b70e731f383d1326e2bd6dda6.tar.gz forums-26ed2f360794b91b70e731f383d1326e2bd6dda6.tar.bz2 forums-26ed2f360794b91b70e731f383d1326e2bd6dda6.tar.xz forums-26ed2f360794b91b70e731f383d1326e2bd6dda6.zip |
#13831
git-svn-id: file:///svn/phpbb/trunk@7955 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r-- | phpBB/docs/CHANGELOG.html | 1 | ||||
-rw-r--r-- | phpBB/includes/acp/acp_main.php | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html index 86b342c982..50b1d1f52d 100644 --- a/phpBB/docs/CHANGELOG.html +++ b/phpBB/docs/CHANGELOG.html @@ -280,6 +280,7 @@ p a { <li>[Fix] Cron now uses a locking variable to make sure it does not spawn too many webserver processes (Bug #12741)</li> <li>[Fix] Cached stylesheet now supporting gzip compression</li> <li>[Fix] Added link to inbox for deleted PMs (Bug #13813)</li> + <li>[Fix] Re-syncing the board stats also refreshes the newest user (Bug #13831)</li> diff --git a/phpBB/includes/acp/acp_main.php b/phpBB/includes/acp/acp_main.php index 0de214af7e..5f1e32fb51 100644 --- a/phpBB/includes/acp/acp_main.php +++ b/phpBB/includes/acp/acp_main.php @@ -151,6 +151,12 @@ class acp_main $result = $db->sql_query($sql); set_config('upload_dir_size', (int) $db->sql_fetchfield('stat'), true); $db->sql_freeresult($result); + + if (!function_exists('update_last_username')) + { + include($phpbb_root_path . "includes/functions_user.$phpEx"); + } + update_last_username(); add_log('admin', 'LOG_RESYNC_STATS'); break; |