]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/AccountManagementControlDocument.php
Issue 11566: More detailled notification configuration
[friendica.git] / src / Module / AccountManagementControlDocument.php
index 9a96ad68fb70b6bcdb735479f53dae4b136d985e..82997161d16cbbdef1850a12512227fdf3547009 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
  *
@@ -22,6 +22,7 @@
 namespace Friendica\Module;
 
 use Friendica\BaseModule;
+use Friendica\Core\System;
 
 /**
  * Static definition for the Firefox Account Manager
@@ -78,7 +79,6 @@ class AccountManagementControlDocument extends BaseModule
                        ],
                ];
 
-               echo json_encode($output);
-               exit();
+               System::jsonExit($output);
        }
 }