Remove unused killme()
This commit is contained in:
parent
f0eea6f875
commit
244f440d97
4 changed files with 3 additions and 13 deletions
9
boot.php
9
boot.php
|
@ -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.
|
||||||
*
|
*
|
||||||
|
|
|
@ -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']);
|
||||||
|
|
|
@ -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()
|
||||||
|
|
|
@ -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');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue