New function to exit the program

This commit is contained in:
Michael 2022-05-18 02:13:54 +00:00
commit f6167b4cfd
27 changed files with 73 additions and 94 deletions

View file

@ -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();
}