diff options
author | Marc Alexander <admin@m-a-styles.de> | 2016-09-11 16:57:33 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2016-12-03 14:23:34 +0100 |
commit | 15f433f00fb84fa8afa97ae95372b7dc6826f5f5 (patch) | |
tree | 554a899140324131b48846b4b85aad28ef2c8134 | |
parent | c54838b25f50dca71a2f516175621a7ccd39a071 (diff) | |
download | forums-15f433f00fb84fa8afa97ae95372b7dc6826f5f5.tar forums-15f433f00fb84fa8afa97ae95372b7dc6826f5f5.tar.gz forums-15f433f00fb84fa8afa97ae95372b7dc6826f5f5.tar.bz2 forums-15f433f00fb84fa8afa97ae95372b7dc6826f5f5.tar.xz forums-15f433f00fb84fa8afa97ae95372b7dc6826f5f5.zip |
[ticket/14492] Always update the time the stats were sent
PHPBB3-14492
-rw-r--r-- | phpBB/includes/acp/acp_help_phpbb.php | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/phpBB/includes/acp/acp_help_phpbb.php b/phpBB/includes/acp/acp_help_phpbb.php index ba17ae3fb4..7991a0dad6 100644 --- a/phpBB/includes/acp/acp_help_phpbb.php +++ b/phpBB/includes/acp/acp_help_phpbb.php @@ -86,15 +86,12 @@ class acp_help_phpbb $config->set('help_send_statistics', $request->variable('help_send_statistics', false)); $response = $request->variable('send_statistics_response', ''); + $config->set('help_send_statistics_time', time()); + if (!empty($response)) { if ((strpos($response, 'Thank you') !== false || strpos($response, 'Flood protection') !== false)) { - // Update time when statistics were actually sent - if (strpos($response, 'Thank you') !== false) - { - $config->set('help_send_statistics_time', time()); - } trigger_error($user->lang('THANKS_SEND_STATISTICS') . adm_back_link($this->u_action)); } else |