New function to exit the program
This commit is contained in:
parent
4e9d7df31a
commit
f6167b4cfd
27 changed files with 73 additions and 94 deletions
|
@ -21,6 +21,7 @@
|
|||
|
||||
use Friendica\App;
|
||||
use Friendica\Core\Logger;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Database\DBA;
|
||||
use Friendica\DI;
|
||||
use Friendica\Model\PushSubscriber;
|
||||
|
@ -142,6 +143,5 @@ function pubsubhubbub_init(App $a) {
|
|||
|
||||
throw new \Friendica\Network\HTTPException\AcceptedException();
|
||||
}
|
||||
DI::page()->logRuntime();
|
||||
exit();
|
||||
System::exit();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue