From b95ceb301fb18bf588fa2b9c8419a301152f9280 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 9 Feb 2022 12:09:33 +0000 Subject: gc() returns bool --- 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 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; } -- cgit v1.2.3