diff options
author | Mario <mario@mariovavti.com> | 2022-02-09 12:09:33 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-02-09 12:09:33 +0000 |
commit | b95ceb301fb18bf588fa2b9c8419a301152f9280 (patch) | |
tree | 361a5b4e7666de3cdf61ff1f1830964f3664c3f2 /Zotlabs/Web/SessionHandler.php | |
parent | b6b2299b4e93a9c688c6ec1587808205bf4b4d2f (diff) | |
download | volse-hubzilla-b95ceb301fb18bf588fa2b9c8419a301152f9280.tar.gz volse-hubzilla-b95ceb301fb18bf588fa2b9c8419a301152f9280.tar.bz2 volse-hubzilla-b95ceb301fb18bf588fa2b9c8419a301152f9280.zip |
gc() returns bool
Diffstat (limited to 'Zotlabs/Web/SessionHandler.php')
-rw-r--r-- | Zotlabs/Web/SessionHandler.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Web/SessionHandler.php b/Zotlabs/Web/SessionHandler.php index 6beb36795..5af646151 100644 --- a/Zotlabs/Web/SessionHandler.php +++ b/Zotlabs/Web/SessionHandler.php @@ -86,7 +86,7 @@ class SessionHandler implements \SessionHandlerInterface { } - function gc($expire) : int { + function gc($expire) : bool { q("DELETE FROM session WHERE expire < %d", dbesc(time())); return true; } |