]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Admin/DBSync.php
Merge pull request #11077 from annando/remove-obsolete
[friendica.git] / src / Module / Admin / DBSync.php
index 90588cfa91411963e8500b631fa0e0a691acbbeb..dac953dc88d46828fcf352c7a1aa57ec21f4f461 100644 (file)
@@ -30,14 +30,14 @@ use Friendica\Module\BaseAdmin;
 
 class DBSync extends BaseAdmin
 {
-       public function content(): string
+       protected function content(array $request = []): string
        {
                parent::content();
 
                $a = DI::app();
 
-               $action = static::$parameters['action'] ?? '';
-               $update = static::$parameters['update'] ?? 0;
+               $action = $this->parameters['action'] ?? '';
+               $update = $this->parameters['update'] ?? 0;
 
                switch ($action) {
                        case 'mark':