]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Admin/Queue.php
Merge pull request #12922 from annando/nomad-version
[friendica.git] / src / Module / Admin / Queue.php
index f0883b361f28592bf3167a189d8a6fa1cca24fb4..aacd06d7f3468560fc01844f3b236c87a937168f 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -38,11 +38,11 @@ use Friendica\Util\DateTimeFormat;
  */
 class Queue extends BaseAdmin
 {
-       public static function content(array $parameters = [])
+       protected function content(array $request = []): string
        {
-               parent::content($parameters);
+               parent::content();
 
-               $status = $parameters['status'] ?? '';
+               $status = $this->parameters['status'] ?? '';
 
                // get jobs from the workerqueue table
                if ($status == 'deferred') {