Version 4.3.6

This commit is contained in:
Neo committed 2025-12-19 05:49:12 -08:00
1 parent fe1acf984a
commit 1a0c7fd3c2
609 files changed
+14707 -5726

No files matched your search

+10 -6
View File
@@ -56,9 +56,14 @@ abstract class _Store
try
{
/* Try and use Redis */
$object = \IPS\Redis::i();
$connection = \IPS\Redis::i()->connection('write');
/* No exceptions that it worked */
if( !$connection )
{
throw new \RuntimeException;
}
/* No exceptions means it worked */
static::$instance = new \IPS\Session\Store\Redis;
}
catch( \Exception $e )
@@ -72,7 +77,7 @@ abstract class _Store
static::$instance = new \IPS\Session\Store\Database;
}
}
return static::$instance;
}
@@ -122,14 +127,13 @@ abstract class _Store
* Fetch all online users (but not spiders)
*
* @param int $flags Bitwise flags
* @param array $skipGroups Ignore members in these groups
* @param string $sort Sort direction
* @param array|NULL $limit Limit [ offset, limit ]
* @param int $memberGroup Limit by a specific member group ID
* @param boolean $showAnonymous Show anonymously logged in peoples?
* @param boolean $includeAllGroups Include all groups? Used for statistics primarily.
* @return array
*/
abstract public function getOnlineUsers( $flags=0, $sort='desc', $limit=NULL, $memberGroup=NULL, $showAnonymous=FALSE, $includeAllGroups=FALSE );
abstract public function getOnlineUsers( $flags=0, $sort='desc', $limit=NULL, $memberGroup=NULL, $showAnonymous=FALSE );
/**
* Fetch all members active at a specific location