<?php
/**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
*
* @license GNU AGPL version 3 or any later version
*
Logger::info("Checking VERSION from: ".$checked_url);
// fetch the VERSION file
- $gitversion = DBA::escape(trim(DI::httpClient()->fetch($checked_url, 0, HttpClientAccept::TEXT)));
+ $gitversion = DBA::escape(trim(DI::httpClient()->fetch($checked_url, HttpClientAccept::TEXT)));
Logger::notice("Upstream VERSION is: ".$gitversion);
- DI::config()->set('system', 'git_friendica_version', $gitversion);
+ DI::keyValue()->set('git_friendica_version', $gitversion);
Logger::notice('checkversion: end');