Replace deprecated log calls

This commit is contained in:
Michael 2021-10-20 18:53:52 +00:00
parent 353cd66b26
commit f6faae5bb1
28 changed files with 163 additions and 163 deletions

View file

@ -35,7 +35,7 @@ class CheckVersion
{
public static function execute()
{
Logger::log('checkversion: start');
Logger::notice('checkversion: start');
$checkurl = DI::config()->get('system', 'check_new_version_url', 'none');
@ -51,15 +51,15 @@ class CheckVersion
// don't check
return;
}
Logger::log("Checking VERSION from: ".$checked_url, Logger::DEBUG);
Logger::info("Checking VERSION from: ".$checked_url);
// fetch the VERSION file
$gitversion = DBA::escape(trim(DI::httpClient()->fetch($checked_url)));
Logger::log("Upstream VERSION is: ".$gitversion, Logger::DEBUG);
Logger::notice("Upstream VERSION is: ".$gitversion);
DI::config()->set('system', 'git_friendica_version', $gitversion);
Logger::log('checkversion: end');
Logger::notice('checkversion: end');
return;
}