provide compatibility functions so code breakage with customised setups or work in progress should be minor

This commit is contained in:
friendica 2015-01-28 21:08:37 -08:00
parent e157371c39
commit 74f9544ed4

View File

@ -1610,6 +1610,12 @@ function local_channel() {
return false;
}
function local_user() {
// DEPRECATED
return local_channel();
}
/**
* @brief Returns contact id (visitor_id) of authenticated site visitor or false.
*
@ -1622,6 +1628,12 @@ function remote_channel() {
return false;
}
function remote_user() {
// DEPRECATED
return remote_channel();
}
/**
* Contents of $s are displayed prominently on the page the next time
* a page is loaded. Usually used for errors or alerts.