summaryrefslogtreecommitdiff
path: root/ext/session
diff options
context:
space:
mode:
authorYasuo Ohgaki <yohgaki@php.net>2016-10-18 06:52:52 +0900
committerYasuo Ohgaki <yohgaki@php.net>2016-10-18 06:53:13 +0900
commit70afe4c4945812375395d375daa658adc1ba8549 (patch)
tree83981a6d0d219960ae726259d216a3cb1f4fac12 /ext/session
parented3196ea355b568c50bf8047e322d1b5a426b691 (diff)
downloadphp-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.c1
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;
}