<?php
/**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2022, the Friendica project
*
* @license GNU AGPL version 3 or any later version
*
class DBSync extends BaseAdmin
{
- public static function content(array $parameters = [])
+ protected function content(array $request = []): string
{
- parent::content($parameters);
+ parent::content();
$a = DI::app();
- $action = $parameters['action'] ?? '';
- $update = $parameters['update'] ?? 0;
+ $action = $this->parameters['action'] ?? '';
+ $update = $this->parameters['update'] ?? 0;
switch ($action) {
case 'mark':