Apply Update::check() suggestions

This commit is contained in:
Philipp 2023-01-06 12:50:14 +01:00
parent c35fd68ec2
commit baf3225916
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
6 changed files with 5 additions and 9 deletions

View file

@ -47,7 +47,7 @@ class Update
* @return void
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
*/
public static function check(string $basePath, bool $via_worker, App\Mode $mode)
public static function check(string $basePath, bool $via_worker)
{
if (!DBA::connected()) {
return;