]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Admin/Queue.php
Changes:
[friendica.git] / src / Module / Admin / Queue.php
index f0883b361f28592bf3167a189d8a6fa1cca24fb4..54d70b27d90ac9a46287f11ce0ff2ac6c108c05d 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2024, 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') {