From c5312871704631b64afb3a146fc52b14949e7ee5 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 9 Feb 2022 19:25:55 +0000 Subject: fix php8.1 deprecation warning --- Zotlabs/Web/SessionHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs') 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; } -- cgit v1.2.3