#76045Naming of fe_users field "is_online"
Description
The field “is_online” implicates a boolean field, if a frontend user is online or not.
But the field is updated with a timestamp and reflects the last activity:
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php:1051
// For every 60 seconds the is_online timestamp is updated.
if (is_array($this->fe_user->user) && $this->fe_user->user['uid'] && $this->fe_user->user['is_online'] < $GLOBALS['EXEC_TIME'] - 60) {
$this->getDatabaseConnection()->exec_UPDATEquery('fe_users', 'uid=' . (int)$this->fe_user->user['uid'], array('is_online' => $GLOBALS['EXEC_TIME']));
}
What about changing field name to e.g. “last_online_activity” or “last_activity”?
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.