Remove unused killme()

This commit is contained in:
Philipp Holzer 2020-01-04 23:43:13 +01:00
parent f0eea6f875
commit 244f440d97
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
4 changed files with 3 additions and 13 deletions

View file

@ -234,15 +234,6 @@ if (!defined('CURLE_OPERATION_TIMEDOUT')) {
define('CURLE_OPERATION_TIMEDOUT', CURLE_OPERATION_TIMEOUTED); define('CURLE_OPERATION_TIMEDOUT', CURLE_OPERATION_TIMEOUTED);
} }
/**
* @brief Used to end the current process, after saving session state.
* @deprecated
*/
function killme()
{
exit();
}
/** /**
* @brief Returns the user id of locally logged in user or false. * @brief Returns the user id of locally logged in user or false.
* *

View file

@ -814,7 +814,7 @@ function photos_post(App $a)
Hook::callAll('photo_post_end', $item_id); Hook::callAll('photo_post_end', $item_id);
// addon uploaders should call "killme()" [e.g. exit] within the photo_post_end hook // addon uploaders should call "exit()" within the photo_post_end hook
// if they do not wish to be redirected // if they do not wish to be redirected
DI::baseUrl()->redirect($_SESSION['photo_return']); DI::baseUrl()->redirect($_SESSION['photo_return']);

View file

@ -283,7 +283,6 @@ class System
/// @todo Move the following functions from boot.php /// @todo Move the following functions from boot.php
/* /*
function killme()
function local_user() function local_user()
function public_contact() function public_contact()
function remote_user() function remote_user()

View file

@ -3305,7 +3305,7 @@ class ApiTest extends DatabaseTest
*/ */
public function testApiOauthRequestToken() public function testApiOauthRequestToken()
{ {
$this->markTestIncomplete('killme() kills phpunit as well'); $this->markTestIncomplete('exit() kills phpunit as well');
} }
/** /**
@ -3315,7 +3315,7 @@ class ApiTest extends DatabaseTest
*/ */
public function testApiOauthAccessToken() public function testApiOauthAccessToken()
{ {
$this->markTestIncomplete('killme() kills phpunit as well'); $this->markTestIncomplete('exit() kills phpunit as well');
} }
/** /**