]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Friendica.php
Merge pull request #13800 from annando/channel-languages
[friendica.git] / src / Module / Friendica.php
index 10a07f6e6587dbc0206ca3897713c0a2d7d24e12..79906f937a4bee2897391ce10a8eeab4fc0a97d8 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2023, the Friendica project
+ * @copyright Copyright (C) 2010-2024, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -144,7 +144,7 @@ class Friendica extends BaseModule
                                header('Cache-Control: max-age=23200, stale-while-revalidate=23200');
                                $this->jsonExit($data, 'application/activity+json');
                        } catch (HTTPException\NotFoundException $e) {
-                               System::jsonError(404, ['error' => 'Record not found']);
+                               $this->jsonError(404, ['error' => 'Record not found']);
                        }
                }