]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Debug/Localtime.php
Improved request value handling
[friendica.git] / src / Module / Debug / Localtime.php
index 97a645485081ad1508c21e4878033b3e721d3274..95d1d7665d0023b3356e1c7672dcaca3f1b59f78 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -31,7 +31,7 @@ class Localtime extends BaseModule
 {
        static $mod_localtime = '';
 
-       protected function post(array $request = [], array $post = [])
+       protected function post(array $request = [])
        {
                $time = ($_REQUEST['time'] ?? '') ?: 'now';