1
0
mirror of https://github.com/php/php-src.git synced 2026-04-18 13:31:27 +02:00

Deactivate E_NOTICE message on gc

This commit is contained in:
Sascha Schumann
2000-09-20 01:38:39 +00:00
parent cd9ab22f84
commit 9c6414d6fa

View File

@@ -929,8 +929,10 @@ static void php_session_start(PSLS_D)
nrand = (int) (100.0*rand()/RAND_MAX);
if (nrand < PS(gc_probability)) {
PS(mod)->gc(&PS(mod_data), PS(gc_maxlifetime), &nrdels);
#if 0
if (nrdels != -1)
php_error(E_NOTICE, "purged %d expired session objects\n", nrdels);
#endif
}
}
}