diff options
author | Yasuo Ohgaki <yohgaki@php.net> | 2016-10-18 06:52:52 +0900 |
---|---|---|
committer | Yasuo Ohgaki <yohgaki@php.net> | 2016-10-18 06:53:13 +0900 |
commit | 70afe4c4945812375395d375daa658adc1ba8549 (patch) | |
tree | 83981a6d0d219960ae726259d216a3cb1f4fac12 /ext/session | |
parent | ed3196ea355b568c50bf8047e322d1b5a426b691 (diff) | |
download | php-git-70afe4c4945812375395d375daa658adc1ba8549.tar.gz |
Simply return FALSE from session_gc(). Error could be annoying because internal save handlers may return -1 when GC cannot be performed for reasons
Diffstat (limited to 'ext/session')
-rw-r--r-- | ext/session/session.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/session/session.c b/ext/session/session.c index 742461bbed..5484390c7e 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; } |