aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_framework/phpbb_session_test_case.php
diff options
context:
space:
mode:
authorrxu <rxu@mail.ru>2019-11-05 20:42:59 +0700
committerrxu <rxu@mail.ru>2019-11-05 22:53:11 +0700
commit7ea063100e23234bf0d6a79fd0411e956a1b6668 (patch)
treedf4a818d3228b68359a69b102e9bd7b4e8dc481a /tests/test_framework/phpbb_session_test_case.php
parent56bff6380e9c9af8e7b97dbe240779950a3a88c6 (diff)
downloadforums-7ea063100e23234bf0d6a79fd0411e956a1b6668.tar
forums-7ea063100e23234bf0d6a79fd0411e956a1b6668.tar.gz
forums-7ea063100e23234bf0d6a79fd0411e956a1b6668.tar.bz2
forums-7ea063100e23234bf0d6a79fd0411e956a1b6668.tar.xz
forums-7ea063100e23234bf0d6a79fd0411e956a1b6668.zip
[ticket/15294] Minor code adjusting
PHPBB3-15294
Diffstat (limited to 'tests/test_framework/phpbb_session_test_case.php')
-rw-r--r--tests/test_framework/phpbb_session_test_case.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_framework/phpbb_session_test_case.php b/tests/test_framework/phpbb_session_test_case.php
index 3746a15280..530d8c6b48 100644
--- a/tests/test_framework/phpbb_session_test_case.php
+++ b/tests/test_framework/phpbb_session_test_case.php
@@ -61,7 +61,7 @@ abstract class phpbb_session_test_case extends phpbb_database_test_case
{
global $config;
$time_now = time();
- $sql= 'SELECT session_user_id, MAX(session_time) AS recent_time
+ $sql = 'SELECT session_user_id, MAX(session_time) AS recent_time
FROM ' . SESSIONS_TABLE . '
WHERE session_time < ' . ($time_now - (int) $config['session_length']) . '
AND session_user_id <> ' . ANONYMOUS . '