Remove unused killme()

pull/8053/head
Philipp Holzer 3 years ago
parent f0eea6f875
commit 244f440d97
No known key found for this signature in database
GPG Key ID: D8365C3D36B77D90

@ -234,15 +234,6 @@ if (!defined('CURLE_OPERATION_TIMEDOUT')) {
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.
*

@ -814,7 +814,7 @@ function photos_post(App $a)
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
DI::baseUrl()->redirect($_SESSION['photo_return']);

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

@ -3305,7 +3305,7 @@ class ApiTest extends DatabaseTest
*/
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()
{
$this->markTestIncomplete('killme() kills phpunit as well');
$this->markTestIncomplete('exit() kills phpunit as well');
}
/**

Loading…
Cancel
Save