com php-src: Simply return FALSE from session_gc(). E rror could be annoying because internal save hand lers may return -1 when GC cannot be performe
d for reasons: ext/session/session.c

From: Date: Mon, 17 Oct 2016 21:53:13 +0000
Subject: com php-src: Simply return FALSE from session_gc(). E rror could be annoying because internal save hand lers may return -1 when GC cannot be performe
d for reasons: ext/session/session.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-95176@lists.php.net to get a copy of this message
Commit: 70afe4c4945812375395d375daa658adc1ba8549 Author: Yasuo Ohgaki <yohgaki@php.net> Tue, 18 Oct 2016 06:52:52 +0900 Parents: ed3196ea355b568c50bf8047e322d1b5a426b691 Branches: PHP-7.1 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=70afe4c4945812375395d375daa658adc1ba8549 Log: Simply return FALSE from session_gc(). Error could be annoying because internal save handlers may return -1 when GC cannot be performed for reasons Changed paths: M ext/session/session.c Diff: diff --git a/ext/session/session.c b/ext/session/session.c index 742461b..5484390 100644 --- a/ext/session/session.c +++ b/ext/session/session.c @@ -2266,7 +2266,6 @@ static PHP_FUNCTION(session_gc) num = php_session_gc(1); if (num < 0) { - php_error_docref(NULL, E_WARNING, "Failed to perfom session GC"); RETURN_FALSE; }

« previous php.cvs (#95176) next »