mirror of
https://github.com/friendica/friendica
synced 2025-04-27 07:50:10 +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\Settings;
|
|||
|
||||
use Friendica\Core\Hook;
|
||||
use Friendica\Core\Renderer;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Database\DBA;
|
||||
use Friendica\Database\DBStructure;
|
||||
use Friendica\DI;
|
||||
|
@ -112,8 +113,7 @@ class UserExport extends BaseSettings
|
|||
self::exportContactsAsCSV(local_user());
|
||||
break;
|
||||
}
|
||||
DI::page()->logRuntime();
|
||||
exit();
|
||||
System::exit();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue