diff options
author | friendica <info@friendica.com> | 2015-01-28 21:08:37 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-01-28 21:08:37 -0800 |
commit | 74f9544ed40b4d6110846d87fec16ca4102fca13 (patch) | |
tree | 1cbebc5dbd4a480133eac4a35731c18d0b4c5723 /boot.php | |
parent | e157371c39121db472cbc45b59ac89d847788648 (diff) | |
download | volse-hubzilla-74f9544ed40b4d6110846d87fec16ca4102fca13.tar.gz volse-hubzilla-74f9544ed40b4d6110846d87fec16ca4102fca13.tar.bz2 volse-hubzilla-74f9544ed40b4d6110846d87fec16ca4102fca13.zip |
provide compatibility functions so code breakage with customised setups or work in progress should be minor
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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. |