Project

General

Profile

Bug #19073 » beuser_mod_index.php.patch

Administrator Admin, 2008-07-07 17:59

View differences:

index.php (working copy)
* @author Martin Kutschker
*/
function whoIsOnline() {
$select_fields = 'ses_id, ses_tstamp, ses_iplock, u.uid,u.username, u.admin, u.realName, u.disable, u.starttime, u.endtime, u.deleted, bu.uid AS bu_uid,bu.username AS bu_username, bu.realName AS bu_realName';
$from_table = '(be_sessions, be_users u) LEFT OUTER JOIN be_users bu ON (ses_backuserid=bu.uid)';
$where_clause = 'ses_userid=u.uid';
$orderBy = 'u.username';
$select_fields = '
ses_id,
ses_tstamp,
ses_iplock,
be_users.uid,
be_users.username,
be_users.admin,
be_users.realName,
be_users.disable,
be_users.starttime,
be_users.endtime,
be_users.deleted,
be_users.uid AS bu_uid,
be_users.username AS bu_username,
be_users.realName AS bu_realName
';
$from_table = 'be_sessions, be_users';
$where_clause = 'ses_userid = be_users.uid';
$orderBy = 'be_users.username';
if (t3lib_div::testInt($GLOBALS['TYPO3_CONF_VARS']['BE']['sessionTimeout'])) {
$where_clause .= ' AND '.$GLOBALS['EXEC_TIME'].'<(ses_tstamp+'.$GLOBALS['TYPO3_CONF_VARS']['BE']['sessionTimeout'].')';
(1-1/3)