mirror of
https://github.com/friendica/friendica
synced 2025-04-21 03:10:11 +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
|
@ -32,6 +32,7 @@ use Friendica\Model\Post;
|
|||
use Friendica\Model\Profile;
|
||||
use Friendica\Core\Storage\Type\ExternalResource;
|
||||
use Friendica\Core\Storage\Type\SystemResource;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Core\Worker;
|
||||
use Friendica\Model\User;
|
||||
use Friendica\Network\HTTPClient\Client\HttpClientAccept;
|
||||
|
@ -224,8 +225,7 @@ class Photo extends BaseModule
|
|||
'output' => number_format($output, 3), 'rest' => number_format($rest, 3)]);
|
||||
}
|
||||
|
||||
DI::page()->logRuntime();
|
||||
exit();
|
||||
System::exit();
|
||||
}
|
||||
|
||||
private static function getPhotoByid(int $id, $type, $customsize)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue