mirror of
https://github.com/friendica/friendica
synced 2025-04-19 09:10:12 +00:00
New function to exit the program
This commit is contained in:
parent
4e9d7df31a
commit
f6167b4cfd
27 changed files with 73 additions and 94 deletions
|
@ -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,8 +73,7 @@ class Attach extends BaseModule
|
|||
}
|
||||
|
||||
echo $data;
|
||||
DI::page()->logRuntime();
|
||||
exit();
|
||||
System::exit();
|
||||
// NOTREACHED
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue