provide compatibility functions so code breakage with customised setups or work in progress should be minor
This commit is contained in:
parent
e157371c39
commit
74f9544ed4
12
boot.php
12
boot.php
@ -1610,6 +1610,12 @@ function local_channel() {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function local_user() {
|
||||||
|
// DEPRECATED
|
||||||
|
return local_channel();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Returns contact id (visitor_id) of authenticated site visitor or false.
|
* @brief Returns contact id (visitor_id) of authenticated site visitor or false.
|
||||||
*
|
*
|
||||||
@ -1622,6 +1628,12 @@ function remote_channel() {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function remote_user() {
|
||||||
|
// DEPRECATED
|
||||||
|
return remote_channel();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Contents of $s are displayed prominently on the page the next time
|
* Contents of $s are displayed prominently on the page the next time
|
||||||
* a page is loaded. Usually used for errors or alerts.
|
* a page is loaded. Usually used for errors or alerts.
|
||||||
|
Reference in New Issue
Block a user