mirror of
https://github.com/friendica/friendica
synced 2025-04-23 03:10:12 +00:00
Replace deprecated log
calls
This commit is contained in:
parent
353cd66b26
commit
f6faae5bb1
28 changed files with 163 additions and 163 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue