diff options
author | Mario <mario@mariovavti.com> | 2022-02-09 19:25:55 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-02-09 19:25:55 +0000 |
commit | c5312871704631b64afb3a146fc52b14949e7ee5 (patch) | |
tree | cb45a826865c5355635a04d8ec957adb45235e3e /Zotlabs/Web | |
parent | b95ceb301fb18bf588fa2b9c8419a301152f9280 (diff) | |
download | volse-hubzilla-c5312871704631b64afb3a146fc52b14949e7ee5.tar.gz volse-hubzilla-c5312871704631b64afb3a146fc52b14949e7ee5.tar.bz2 volse-hubzilla-c5312871704631b64afb3a146fc52b14949e7ee5.zip |
fix php8.1 deprecation warning
Diffstat (limited to 'Zotlabs/Web')
-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 5af646151..6beb36795 100644 --- a/Zotlabs/Web/SessionHandler.php +++ b/Zotlabs/Web/SessionHandler.php @@ -86,7 +86,7 @@ class SessionHandler implements \SessionHandlerInterface { } - function gc($expire) : bool { + function gc($expire) : int { q("DELETE FROM session WHERE expire < %d", dbesc(time())); return true; } |