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

chore: remove unnecessary ini_set
pull/45125/head
Ferdinand Thiessen 7 months ago committed by GitHub
commit 9054747b43
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      lib/base.php

@ -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)) {

Loading…
Cancel
Save