Merge pull request #45117 from nextcloud/bug/noid/unnecessary-ini-set

chore: remove unnecessary ini_set
This commit is contained in:
Ferdinand Thiessen 2024-04-30 16:46:20 +02:00 committed by GitHub
commit 9054747b43
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -465,7 +465,6 @@ class OC {
//try to set the session lifetime
$sessionLifeTime = self::getSessionLifeTime();
@ini_set('gc_maxlifetime', (string)$sessionLifeTime);
// session timeout
if ($session->exists('LAST_ACTIVITY') && (time() - $session->get('LAST_ACTIVITY') > $sessionLifeTime)) {