]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Profile/Schedule.php
Merge pull request #11452 from atjn/manifest-icons
[friendica.git] / src / Module / Profile / Schedule.php
index 1e9cd5fa5d94fb8d866126d1720197023e575d92..cac77c9c769ed82da5d3b1794d03cc88a1a2f527 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
  *
@@ -33,7 +33,7 @@ use Friendica\Util\DateTimeFormat;
 
 class Schedule extends BaseProfile
 {
-       public function post()
+       protected function post(array $request = [])
        {
                if (!local_user()) {
                        throw new HTTPException\ForbiddenException(DI::l10n()->t('Permission denied.'));
@@ -50,7 +50,7 @@ class Schedule extends BaseProfile
                Post\Delayed::deleteById($_REQUEST['delete']);
        }
 
-       public function content(): string
+       protected function content(array $request = []): string
        {
                if (!local_user()) {
                        throw new HTTPException\ForbiddenException(DI::l10n()->t('Permission denied.'));