mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 03:25:15 +02:00
Switch to Core\Session
- Remove reference to include/session - Use new Session::init() - Prevent variable re-assignation if they're just empty - Deprecate killme() function - Correct DOMXPath class spelling
This commit is contained in:
parent
55c63949c4
commit
d5753b21ae
2 changed files with 9 additions and 11 deletions
5
boot.php
5
boot.php
|
@ -873,13 +873,10 @@ function get_guid($size = 16, $prefix = "")
|
|||
|
||||
/**
|
||||
* @brief Used to end the current process, after saving session state.
|
||||
* @deprecated
|
||||
*/
|
||||
function killme()
|
||||
{
|
||||
if (!get_app()->is_backend()) {
|
||||
session_write_close();
|
||||
}
|
||||
|
||||
exit();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue