]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Attach.php
Move settings/oauth to src/Module
[friendica.git] / src / Module / Attach.php
index bd785881c3d067a9a36cdfb0a17bf2ae7b84740c..a73beb2b8dd03585c1e4c498a196bf0a2ccbb2a0 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
  *
@@ -23,6 +23,7 @@ namespace Friendica\Module;
 
 use Friendica\BaseModule;
 use Friendica\Core\Logger;
+use Friendica\Core\System;
 use Friendica\DI;
 use Friendica\Model\Attach as MAttach;
 
@@ -72,7 +73,7 @@ class Attach extends BaseModule
                }
 
                echo $data;
-               exit();
+               System::exit();
                // NOTREACHED
        }
 }