config->getSystemValueBool('config_is_read_only')) { return; } $secretCreated = $this->appConfig->getValueInt('core', 'updater.secret.created', $this->time->getTime()); // Delete old tokens after 2 days if ($secretCreated >= 172800) { $this->config->deleteSystemValue('updater.secret'); } } }