]> granicus.if.org Git - php/commitdiff
Remove debug code
authorYasuo Ohgaki <yohgaki@php.net>
Thu, 7 Apr 2016 08:13:05 +0000 (17:13 +0900)
committerYasuo Ohgaki <yohgaki@php.net>
Thu, 7 Apr 2016 08:13:05 +0000 (17:13 +0900)
ext/session/session.c

index eaa18c908f125c94f1a99396e095efb5b5b6fb2e..79d5dd2831277ac69fecee436de94d003be21802 100644 (file)
@@ -496,11 +496,6 @@ static void php_session_gc(void) /* {{{ */
                nrand = (int) ((float) PS(gc_divisor) * php_combined_lcg());
                if (nrand < PS(gc_probability)) {
                        PS(mod)->s_gc(&PS(mod_data), PS(gc_maxlifetime), &nrdels);
-#ifdef SESSION_DEBUG
-                       if (nrdels != -1) {
-                               php_error_docref(NULL, E_NOTICE, "purged %d expired session objects", nrdels);
-                       }
-#endif
                }
        }
 } /* }}} */